PS 3 indication light switching from green to red why?

I have Sony play station 3.I usually play games on it and watch movies but there arise a problem.The indicator light on the PlayStation 3 starts green, switches to yellow, and then quickly switches to red, and blinks indefinitely.Is there is a fan issue or any other issue ? Anyone know please help me
