Poop after taking pill

I had a sort stomach about 3 hours after I took the pill and went to the toilet to do my business. Will this effect anything? Is the pill no longer inside of my body??