Generally one would call a repair person and then the question would be whether it's worth repairing based on the cost of the estimate and the general condition of the oven.
Depending on the age and condition, it may or may not even be worth seeing what a repair would cost. I'm not sure I would have any interest in fixing a 40 year old electric coil stove if the oven were on the blink versus a Thermador wall oven of relatively recent vintage.
Some days I pray for Silence, Some days I pray for Soul,
Some days I just pray to the God of Sex and Drums and Rock 'N' Roll.