Help please

Alyssia
I'm 5 weeks and 4 days I started to have yellow discharge today. No pain but my friend said she only had it at the end of her pregnancy is it ok that I have it now ?