Hope and wish you are feeling better now!
This sounds a case of dehydration
/ food poisoning
. Was there any change in the eating habits? Please keep yourself well hydrated always and eat at regular intervals!!
Let me know if i can be of any more help!