Weird discharge

So im supposed to be on my fertile window but my discharge looks different, it even tastes sour/acid (i was masturbating and noticed the flavor). I took an emergency pill about 2 weeks ago. Does that have something to do?