Welcome to Health Care Magic
Neither your age nor other histories are given / the character of the pain is not given / Only an examination may clarify..
The long duration of symptoms suggest possible Allergy
The pain, being intermittent, may mean muscle spasm...
Discuss with your doctor...
Wishing speedy recovery