Thanks for the query.
It probably might be due to a pinched nerve
as you said. The sharp pain
is indicative of some pressure on the nerves. Usually it relieves by itself over a period of 1 to 2 weeks. Small adjustments like lying on the back and avoiding lifting heavy weight would prevent further pressure on the nerve. Massage
can be of help. If pain is severe, you may require some pain killers. Please visit your physician to rule out any other serious issues. He will be able to confirm the diagnosis and treat it accordingly.
Hope I have answered your query. Let me now if I can assist you further.