most appliances have a thermal cut out on them it sounds as though this is your problem, if it is faulty your oven will cut out when hot and will only come back on once cooled.
appliance girl
July 2010
I can answer this question...
Hotpoint BS22 Fan oven heating up but turning off?