Ampicillin for strep throat while pregnant?

MTB • 35, engaged with a 13 year old and pregnant with baby #2 :)
Hi ladies. I was hit with strep throat at 6 weeks and of course I'm freaking out :( my OB prescribed Ampicillin and while I'm sure he prescribed me something safe to take while pregnant, I'm just wondering has anyone else taken this while pregnant as well?