Diarrhea after taking the pill

I have a lot of GI issues and today an hour after taking my pill I had diarrhea

I heard diarrhea effects how the pill is absorbed but I also heard that it only effects the pill if you’ve had diarrhea 3 or more times in a 24 hour period

Am I still protected?