As you say the fan is intermittent, turning on one minute then turning off again.
In a laptop the fan NEVER turns off, it only ever turns down its revolutions but the thing is always turning. No fan - the CPU will shutdown to prevent getting fried.
Anything that's 5 years old is bound to be clogged with all manner of detritus, dust, dirt, bits of biscuit, snot, sneeze droplets, pet hairs, dead insects,... you name it, it could be in there blocking the circulation of clean cool air.
The one time it worked there might have been a cool breeze happened to pass by just as you turned it on.
Jacky Howe got it right first post. He posted at the same time as me, but was smart enough to mention the heat thing in his.
Give it a good blast with compressed air, and if it were me I'd lift the fan out and check it. It probably need replacing - after five years of spinning round, I'd be knackered too! ;)