Pain or discomfort in the chest can be felt more intense at night than during the day. It’s better to find a suitable sleeping position to help reduce the pain as much as possible. Try not to sleep on the side affected, back, or stomach.  While sleeping on the other side, which isn’t affected, prop up your ribs with a pillow to give it support during the night.