Thanks for posting your query
According to your description , pain and swelling over your great toe and foot seems to be inflammatory in nature.It might be due to an acute attack of gout
I advice you to give you rest to the part affected, take anti-inflammatory drug as already advice by your doctor to reduce pain and inflammation and consult an orthopaedic surgeon
for thorough examination of foot and great toe and rule out any infective cause.
I hope this is helpful to you.
Wishing you good health...
Dr Saurabh Gupta.