iPhone 5 will not ring, it only vibrates
Get some compressed air (don't just blow into it) and blow the headphone jack clean of any dirt, lint, or other debris. A toothpick might help clean it out, too.