Maytag Stove

I am having trouble with my Maytag oven .I turn the oven on to 350 and it takes forever to heat up and then I open the door to put the food in it and inside the oven cuts off and will not cook .What can this be ?
Thanks