How do i fix my laptop, the fan doesnt spin and it over heats and turns off?

If i try to play a game (world of warcraft) as soon as my laptop boots it glitches a bit then turns off
Answer
Maybe a lose connection on the fan assembly...