Doctors warn this condition can be extremely painful — but there are a few steps you can take to reduce your risk.