Worried

Hi, so I'm on the pill and I have been for like 3 years and I only get my period 4 times a year (Doctor said it was fine to do it that way) and me and my boyfriend have sex sometimes without a condom but he pulls out. But I had dark brown discharge one time a couple days after we had some fast sex and I had diarrhea, but I think that's food poisoning. I have not gained any weight and my boobs haven't changed. Opinions