It might be multiple issues, sometimes you can have a lot of dust clogging up the machine and in worse case scenarios your power supply could be on the verge of dying. It can sometimes even be a temperature issue..
Once you have the computer running for a hour or so, if you turn it off and back on does it do it without issue?