While you're on the mend: Take a break from sports to allow yourself to heal without hurting yourself again. Put ice on the area to relieve pain. Take pain medicine like acetaminophen or ibuprofen. Take deep breaths to avoid pneumonia. Don't wrap anything tightly around your ribs while they're healing.