Combination pill and diarrhea

I take my pills at 5pm on the minute, today i had diarrhea three hours after taking it. Does it affect the pill or was it absorbed. I’m not sick and i had diarrhea once because i ate a lot of cheese and smoked after it.