Ouch. I've had broken ribs a couple of times and there's not really anything they can do about it. You just have to give it time. I found it usually took about 6 weeks to heal but the pain should ease off after 2-3 weeks.
Find your most comfortable position and stay there. You should take it easy for at least a week otherwise it'll take longer to heal. You need to let the initial fusing of the bones happen before you do too much.
Content on HealthUnlocked does not replace the relationship between you and doctors or other healthcare professionals nor the advice you receive from them.
Never delay seeking advice or dialling emergency services because of something that you have read on HealthUnlocked.