Diarrhea for a week!

I’m 36 weeks pregnant and have had diarrhea for almost a week. Is this something to be concerned about?