Discharge

Bit of a TMI but if I haven’t had sex in a few days and then I have sex I get this greenish discharge like the next day. I’ve only slept with my boyfriend and we have only slept with each other so I’m not sure what it could be. Any ideas ? I am on the pill so I’m not sure if that affects it