Feeling sick

Hello I’m 24 weeks preganant. I’m experiencing vomiting and diarrhea, my stomach hurts so bad. Is this worth to go yo emergency room or just rest and just hydrate myself ? I can’t contact my ob , i don’t have his personal number to ask him some question, can’t call the office either cause it’s late.