500mg Cephalexin , is it safe to take during pregnancy?

Veronica
I'm 7 weeks and was prescribed these pills before finding out I was pregnant , I wanted to know if they were safe to take during pregnancy , give me help lady's .