Playstation shuts down

So my PlayStation shuts down when im playing a game or doing any thing that remotely puts any kind of stress on the power supply. Now im not sure how to get the parts to repair my system does any one know?