Diarrhea for days....

I'm 37 weeks and have had diarrhea for like 4 days. Has anyone else had this? Should I contact L&D?