Cooking a baked potato in the oven is easy. Pierce your potato 2 or 3 times with a knife. Wrap the potato in foil and add a teaspoon of oil on top. Wrap up tight in the foil and cook at 450 for about an hour. You can check your potato for doneness by sticking a knife in it. If it goes in easily, your potato is done.