You can take NSAIDs.
Thanks for writing to HCM
is a muscle relaxant
and it will only relax your muscles.
Additionally you need analgesics.Probably you are not comfortable with antispasmodic so you can take NSAIDs tablet.It will alleviate your pain.
However you need treatment of underlying cause.
Get well soon.
Hope I have answered your question.
Further queries are most welcome.