This almost sounds like a bruised rib.
Are you carrying a messenger bag that might put pressure on that area?

Maybe just pay attention to your posture