Does this happen to you too?

Hello friends. 3 weeks ago I had very bad diarrhea, I went to the doctor, took medicine and after that my stool was hard for 2 days. And yesterday my stool was soft and in pieces. Today my stool was soft and in pieces again. What could be the reason for this? After diarrhea I had constipation and then it became soft. Why does it keep changing like this?
Does this happen to you too?
Post Opinion