What causes it—and when to see a doctor.