I ate a medium cooked steak at a restaurant, do you think it's ok?

it was pink in the middle, almost looked medium rare. I ate half of it before I realized I'm not suppose to bc I'm pregnant. I had the runs the next morning (today) and now I'm scared it had bad bacteria or something and hurt the baby. anyone been through this and it been ok????