Urgent care or ER

It's inevitable at some point this year that you or someone in the family will get sick. When you're feeling under the weather, is it best to go to urgent care or the emergency room?