I'm not a dr. so I can't give medical advice...
Did you throw up once or many times? Is it possible your throat hurts simply because you threw up? Do you have any other symptoms?
For me, the decision to go to the hospital would depend on my answers to these questions.
Hope you feel better soon.