Apply local pain killer and take oral pain killers. I usually, prescribe paracetamol
to my patients.
If no improvement, can get a physical exam by the physician to see the local damages of the ribs and/or skin in order to take further therapeutic measures.
Hope it helped!