Diarrhea and Birth Control

Last week I had pretty bad diarrhea for 3 days. If I remember correctly the first day I had it before I took my birth control pill. The second day I don’t remember but the third day I did have diarrhea a few hours after I took my pill. I’ve been on birth control for about 2 years but switched my pill about 3-4 months ago. I had sex (without a condom) 1 or 2 days after I had diarrhea. He didn’t cum in me but I’m worried that my pill could be less effective. I’m supposed to start my period tomorrow.