Morning diarrhea??

So yesterday I woke up to my stomach killing me and went to the bathroom and had diarrhea. I stayed home from work because I felt so bad and gross. And then later in the day I felt fine again. This morning I wake up to the same thing. Does anyone have any idea what is going on?