You have to clean or replace the element after an oven fire. It was sparking because it probably had a short. Even if it didn't, it's now charred and can't cook your food. Is that correct? The manufacturer's instructions can be followed to replace the element.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.