It is better than nothing except it can cause dehydration due to the sugar in it so it wouldn’t help you feel any better. It could actually make it worse. Try just water or pedialite. It has no sugar and won’t contribute to dehyration.
Gatorade replaces the electrolytes that you lose when you have diarrhea and vomiting. You lose a lot of electrolytes when you are sick, so gatorade will help replace those so you will stay hydrated.
Hope you feel better soon.