Discharge

Lately I noticed that my discharge has changed from being a normal amount and clear to quite thick , White & clumpy it kind of smells abit not a lot though mainly before my period starts  
Do I have an infection?