Skip to content
Sign in

Two weeks after viral fever I am getting sharp chest pain which is worse when I lie flat and better when I sit and bend forward. What can this be?

An AskHer answer: what is known, what depends on you, and what only a clinician can decide.

From AskHer’s editorial team. The team wrote this question to open the topic. It is not anyone’s submission, and nobody’s own words are in it.

Editorially reviewed Version 1 · Last reviewed 11 November 2026 · English

The short explanation

Sharp chest pain after a viral illness that eases when sitting up and leaning forward and gets worse lying flat is a pattern doctors associate with pericarditis. This is inflammation of the thin sac around the heart, and viral infections are a common trigger. Pericarditis is often mild and settles with treatment, but it needs a proper diagnosis, because sometimes the heart muscle is also inflamed, a condition called myocarditis, or fluid collects around the heart. An ECG, blood tests and an echo help a doctor tell what is going on and decide on treatment and rest.

What depends on your situation

The parts of this that change from woman to woman. Uncertainty is stated, not hidden.

  • Other causes of chest pain after a viral illness include muscle strain from coughing, inflammation of the rib joints and, less often, a blood clot in the lung, especially if you were bed-bound or have leg swelling.
  • Doctors usually advise avoiding strenuous exercise and heavy workouts until inflammation has settled, because exercise can strain an inflamed heart. Ask how long this applies to you before returning to the gym or sports.
  • A government hospital or medical college can do an ECG and echo at lower cost if cost is a worry.

What this answer cannot determine

The boundary of online education. These need a clinician who can see you.

  • This answer cannot confirm pericarditis or rule out other causes. That needs an examination, ECG, blood tests and usually an echo.

Questions for your clinician

Take these with you. You can add any of them to an appointment card.

  1. Could this be pericarditis or myocarditis after my viral fever?
  2. Do I need an ECG, echo and blood tests such as troponin?
  3. How long should I avoid exercise and heavy work?
  4. What signs would mean it is getting worse?

When to seek help

Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.

Emergency — call 112 now

  • Call 112 if the chest pain becomes severe, you become breathless at rest, your heart races or you faint.

Get help the same day

  • See a doctor the same day for this kind of chest pain so an ECG can be done.

Book an appointment soon

  • Follow up within days to review test results and how long to rest.

Sources

The evidence this explanation is built on.

  1. Coronary heart disease NHS
  2. Cardiovascular diseases (CVDs) World Health Organization
  3. Heart disease in women MedlinePlus (US National Library of Medicine)

Who wrote and reviewed this

Every AskHer answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.

Author
AskHer Editorial (AI-assisted) AskHer's editorial team — not an individual clinician Works in English, தமிழ், हिन्दी
Clinical reviewer
Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHer’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
Review status
Editorially reviewed
Last reviewed
Last reviewed 11 November 2026
Version
1

Correction history

Substantive changes are listed, not quietly edited away.

No corrections have been made since this answer was first published.

Did this answer your question?

Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.

Explain more simply

“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.


Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.