Vaginal issue! Help!!

I have a yellowish liquid that comes out of my vagina, but it’s not painful. However it does smell, and I'd really like to know how to get rid of it. I recently had unprotected sex with my boyfriend two days ago & now my period is two days late. As well as me obtaining this yellow discharge & smell😖. Maybe that's what did it. Please give me your advice.