When to go to the hospital?

At what point of puking and having diarrhea are you supposed to go in for dehydration? 😂 I've had a rough day, but I dont want to go and waste my time and money if I dont need it