It's nothing to do with the game at all, this is a common misconception that people have. it's a problem with the motherboard usually due to over heating.
As others have said, if the box is less than a year old , then take it back to where you got it from. If it's more than a year old, then phone Microsoft on 0800 587 1102. Be prepared to wait a while and spell everything out - they're somewhere in the sub-continent. You'll need your console's serial number.
They'll sort it out and email yoou some packing labels and then a nice man/woman from City Link will come and collect it and about three weeks later you'll get it back all shiny and fixed.
One of the ways to prevent it happening is to make sure there is an adequate air flow all the way around the console when it's being used, if it sits under the TV then pull it out and sit it on the floor. That will suffice, you don't need to bother buying all those cooling devices that people will recommend - total waste of money IMO.
Hope that helps