Combo pill and diarrhea

strawberry

I always take my pill at 6pm. I just started having diarrhea today at 8pm. I hadn't taken my pill yet because I felt it coming, my stomach was cramping bad so I knew my pill would not be absorbed if I took it. Now I literally have no food left in my stomach, I went about 5-6 times to the toilet in a few hours. I just drink liquids for now. I have until 6am to take my pill for it to be effective but I'm scared if my diarrhea doesn't stop, the pill definitely won't work. What should I do ?