What happens if you eat a plate of fried rice that has a dead fly in it? Will i get worms or bacteria or maggots? Please help?

The rice was cooked for three times and the fly was dead i ate half of the fried rice but when i gound the fly in my mouth i spit it out and didn't eat it. Will the worm eggs or bacteria die because the rice was cooked for three times. Please help
5 answers 5