Proper rehabilitation of posture, mobility, fitness and exercise is the best option before any medical drug or cortisone injection intervention is even considered and certainly before surgical removal of the sore cartilage as absolutely the last resort.
Ideally start a course with a combination of expert physical therapy, chiropractic or osteopathic joint manipulation, connective-tissue mobilisation and postural rehabilitation for your costochondritis.
Source : NHS