help me

He

so I didn't know I wasn't supposed to eat a medium rare steak and I ate half before I was told not to because of possible infection, what do I do to prevent this??