Thanks for writing to health care magic.
First you should be examined and then investigated for that. There could be several possibilities for that pain. One it could be because of a trauma which went unidentified. Gout
can also cause pain in the toe with swelling etc.
So first you should get yourself examined and investigated.
Continue to ask further queries as required.
Hope this helps.
Dr Y V Siva Sankara Murty,