Birth control

If I took birth control and had diarrhea 3 hours later, would I still be protected? (Because body absorbs the pills in 2 hours?)