Cephalexin or nitrofurantoin are typically used because they are generally considered safe in pregnancy .
Cephalexin or nitrofurantoin are typically used because those medications are generally considered safe in pregnancy .