The PSU supplies the power for the components in the a computer. Newer graphics cards require more power than older graphics cards. If you do not upgrade you PSU first and just change your graphics card right away, its possible you computer would just power off everytime you run a graphics intense application.
So its best decide what PSU to buy first before you can buy a GPU(graphics card).