Bowel movements.

Yesterday I used the bathroom 5 times and had diarrhea. This morning alone I have used the toilet 3 times with diarrhea. Is this okay ? I know it's okay to make bowel movements , but it seems like I'm shitting alot