Abnormal discharge

I’ve been on the pill for a while, I take it correctly every day. I still have unprotected sex but my boyfriend always pulls out too. But I’ve had a light brown creamy discharge for the past few days. Does anyone know what might be wrong?