Hello and welcome to healthcare forum tori.
Your symptoms of
diarrhea and vomiting are suggesting that you are suffering from
gastroenteritis and the symptom of fainting is due to excessive fluid loss from body.
You need to
consult a gastroenterologist and will require some blood and
stool test for proper treatment.
Best wishes for your health.