We must distinguish between pain only when taking a deep breath or cough
), deep breath lying down but not sitting up (pericarditis) and primarily with movement of the upper body (muscular or arthritic).
A recent or current viral illness could suggest the first 2. If reproducible with movement, the last is suggested. You might want to consult your family doctor.