does it hurt if you have a full breath of air in?
You can't really diagnose things over the internet because there are too many questions answered. But if it hurts when you breath in, it could be many things, however two things are more likely:
1. rib subluxation (see your chiropractic doctor)
2. Pleuracy / Pleural Effusion
(see your medical doctor