Digestive

I know this is TMI but I was constipated for almost a week and now I have terrible diarrhea. Has anyone else has this happen?  I'm about 5 weeks.