Warm it up: If there is no swelling and you feel that the pain has mechanical causes, you can try to apply warmth. Heat will help alleviate muscle tension and works well in case of hardened or knotted muscles. Try applying a Hansaplast ABC plaster on the affected area. It will provide sustained intense heat and at the same time block the transmission of pain.
You might want to try cooling the area with a cold pack (ice is a natural pain reliever and will work in case of swelling or bumps). Place it on the sore spot. If you feel that this helps, leave it on for no more than ten minutes each hour. See a doctor if you suspect inflammation.
You may take medicine that reduces pain, swelling, and irritation without medical consultation. See a doctor if symptoms don‘t improve.
Consult your doctor about what best to do and whether you need rest or activity. It is recommended to get back to your normal activities as soon as possible, as movement helps your muscles decontract and stay strong.