UTI ... 34 weeks pregnant

Kia
Anyone here was prescribed Cephalexin for a UTI ? And if so did it cause a Yeast infection because I can't seem to catch a break between the UTI medication and the yeast infection ... I'm so tired of both ... I can't take this suffering anymore