Embarrassing 😑 but beginner cook here. Baked chicken... how long do I put it in the oven for??

And I just sprinkle oil over it, with salt, pepper, and garlic powder; right? Maybe chili pepper? Do I put foil down first on the baking sheet? Brand new cook here... lol... thanks ladies !

Will be cooking chicken breasts! Also, what temp do I put the oven at?