In the first 48 hours, you should put ice on every 4 hours. Place the ice pack on the stretch and pain area with a little pressure.
After the freezing period, you can gradually use heat therapy. A towel or a bowl of warm water. Please do not heat the stretching area too much.
The pain may last for one to two weeks.
If there is a lot of restriction in movement and joints, you should definitely see a doctor
Of course, for the first few days, just follow the above recommendations, it seems that your problem will be solved.