treatment options for costochondritis are limited and usually involve a combination of rest, pain-relieving medications, and anti-inflammatory medications. cases with persistent discomfort may be managed with cortisone injections or surgery may be indicated if the condition is severe. individuals with costochondritis are typically instructed to avoid strenuous physical activity to prevent the onset of an attack.