Since it started out of the blue which is how most colds or flus occur, it does appear as though you have the flu. It is normal with the flu to have diarrhea as well. All you can do is stick to a bland diet for a couple of days, eat things like rice, apple sauce, toast, crackers, make sure to drink what you can so you don't become dehydrated and lots and lots of rest. Generally about 3-4 days and you will feel back to normal again.
Hope this helps, If you need anything else please feel free to ask. If you found this helpful don’t forget to click the *accept* button!
