Doctors often start by prescribing anti-inflammatory drugs for pain and swelling. Once that's under control, your doctor may recommend working with a physical therapist or show you specific exercises to build your muscles back up.
If medication and exercise don't help enough, surgery may be your next step. The kind of operation depends on your injury, age, and how active you are.