Cephalexin or keflex during pregnancy

I have a urinary track infection And I start taking it today, as my doctor recommended for my infection, I was reading in the internet that the baby can have cardiovascular defects and oral clefts in first trimester exposure I'm only 10 weeks I m afraid something will happen to my first baby. Anybody help me please? What to do?