Umm question....

Okay so yesterday I felt gassy small bm not easy to pass, all day today I struggled to poop but just now pain got so bad went to the bathroom and damn no problem actually had diarrhea...is this normal??