Thanks for writing your query.
After reading your post, it seems that your symptoms are due to muscular sprain as a result of wrong posture.
You can take painkiller like Ibuprofen
twice daily after meals along with a muscle relaxant
supplement can be taken for few days.
If the problem persists, get yourself clinically examined and investigated.
I hope this is helpful to you.