Cephalexin.

7 weeks pregnant got prescribed cephalexin for bacterial infection. Day 2 of the pills and I'm bleeding. Could it be caused by the pills?