White Discharge//Protected Sex

I had protected sex and I'm expieriencing white discharge a few days-weeks afterward. It's milky-white sticky/creamy discharge. What could this be? Did something wrong happen and I am pregnant?
Before having sex (while a virgin) I only had clear discharge 
Before white discharge I had brown spotting and I still don't know what that could be.
My period should start the first so I'm not close