Thank you for your query.
I think you are doing the exercises heavily and your body is not accustomed to it . You dont need to take any medicines the pain will go on its own still if you feel you can take a paracetamol
for pain relief .
Consult a fitness trainer to guide you.
Hope you are satisfied with the answer.
If you have any further queries feel free to ask.
Wish you good health.