Is this a thing?

So a friend told me that if you have diarrhoea like 30 mins/1 hour after taking your pill for the day, it means the pill isn’t going to work. Is this true?