Woke up with discomfort and pain in upper right side of chest. Worsens when lying down and deep breathing.

See a doctor. I am worried about the pain with laying down, sometimes that may be a sign for pericarditis, an inflammation of the pericardium which is a layer that wraps around the heart. This condition can lead to potential for morbidity and mortality and needs to be evaluated immediately.