Having problem in computer power supply,

I have Pentium 4 computer, for a couple of weeks having problem in computer power supply, My computer doesn’t start, till I unplugged the power cable and then insert it again in power supply, this is also happens when I plugged other hard drive as slave, what will be the cause of mentioned problem ?
