Thick White Discharge

It’s two days before my period, and I’ve noticed some thick white discharge. What does it mean? I had sex two days ago, if that might affect anything.