hello, thank you for your querry
you probably must have overworked your muscle or you may have had a muscle strain
please get some massage to help relax the muscles, myorelaxants, none-steroidal anti-inflammatory drugs like diclofenac
if the pains persist get some rest and then see a rheumatologist
for proper evaluation.