2 months pregnant and yellow mucus discharge

Patient: I am 2 months pregnant and i noticed a yellow mucus discharge. is this bad?

Doctor: Yellow mucus discharge during pregnancy or green mucus discharge during pregnancy must not be ignored. It could be an in dicator or an infection that could lead to pregnancy complications. A urinary tract infection is the most common cause of discolored vaginal discharge during pregnancy. Yellow or green vaginal discharge may also be caused by sexually transmitted diseases such as trichomoniasis and Chlamydia.