This is Health & Fitness and where medical related problems are posted. Some people have embarassing issues to post, I feel it does not help when posters post in a fashion that could make people feel even more embarassed and selfconscious.
It's an issue I have suffered myself due to a bowel condition, it's not pleasant and is embarassing.
If it's a one off honeydip then it could be down to something you ate. If it continues then you should let your doctor know who can go through your medical history and diet with you to see if you can find the cause and if any further tests or treatment is required.