Without more information and history one could not give you a specific diagnosis.
Since you are not responding to otc medications i would get evaluated by your pcp. Prescription strength medications may be needed to get your pain under better control. This is like muscular and will resolve with time and relative rest. You should have a comprehensive history and physical examination.