Doxycycline

I am currently 7 wks 1 day pregnant, I was prescribed doxycycline for a week to treat a bacterial infection and searching up on google is not helping at all. Is doxycycline safe to use while pregnant ? I don’t have an OB right now because I am transitioning to a new state. Help pls !!