anal discharge

Hey guys this is really gross, but yesterday I had the urge to pass gas and a large sum of yellow ish liquid came out of my anus. I thought it was extremely disgusting and really odd. This happened agian today, should I go to the doctor or is this normal. Please help me