If you notice the right rib pain occurs after waking up or you know you sleep on the right side, try sleeping in an upright ...