Discharge

I been having a lot of discharge recently with a lil of blood I’m assuming Bc my period is due for next week however . Just wanted to know if that was normal ? I was given a yest infection pill ?