Did I hurt baby?

I was put on amoxicillin for fluid build up in my sinuses and lungs. After a couple days I started getting major stomach pains. I stopped taking the medicine and finally after 3 days the pain had died down. I’m around 16 weeks pregnant, could I have hurt the baby?

Update: both my kids are allergic to amoxicillin! Didn't realize I had to ask the question can an unborn child be allergic to a medication?!

Oh! And I did call my doctor twice! Got told she'd call me back both times and she didn't so thanks for the fucken judgement!