9 weeks pregnant learned 3 hours ago

So i literally just found out i was pregnant but something didn’t feel right so i went to the hospital and turns out i’m 9 weeks but today was our state fair and i got on rides, could anything have happened to my baby?