If your pain is severe, persistent, or accompanied by any of the red flag symptoms mentioned earlier, it’s important to consult a doctor for diagnosis and treatment.