|It sounds like you've got problems beyond what a restore or recovery attempt can fix.|
But to answer your question, the function key to press to access a restore partition on your hard drive (if that partition exists) will probably vary with the gateway model. It's sometimes F11 but you should check the manual for your model to make sure.
If you mean you want to get to the windows xp recovery console you'll need to see if you can get to safe mode or safe mode command prompt. Check my # 2 here:
I doubt you'll be able to do either of the above since as I first mentioned, I think you have a bigger problem--usually that means the power supply, motherboard or both. Your problem description was kind of vague so it's hard to be specific.
But try the above suggestions. Maybe you'll get lucky.
DAVEINCAPS - Made with REAL high fructose corn syrup.