Incorrect technique while lifting heavy weight is common reason for muscle injury. This looks like either muscle sprain or some trauma to the ribs.
Next Steps
Please be advised to visit a nearby orthopedist or physiotherapist or GP. If required you would be asked to get a X-ray.
Health Tips
Apply ice for 20 mins every 2 hourly and avoid sleeping on the injured side