one case of diarrhea

Does diarrhea 12 hours after the pill effect it? It was watery and really bad. It all came out within the one time I went to the bathroom but there was a lot. Would this effect my pill because it happened so much later after taking it?