Sorry you are having this pain. For me, it is related to my nerves and lumbar spine. For my son, it ended up being a broken toe that he didn't even know he had and it wasn't healing well.
They thought my ex had gout and gave him the meds and it ended up being a dislocated finger.
There is gout and pseudogout,as Bill says, and the treatment is different. An xray ought to help for starters. I get arthritis in the big toe too that gets hot and swells and hurts bad.
I know very few, if any, people who have ended up having actual gout. It always seems like gout, but ends up being something else. In my mom's case, she didn't know she broke her toe and they had to put pinsin them to get them to heal right.
I hope it is just the old arthritis. Resting your back might help too along with your feet. And wearing good shoes is a real help, even thick slippers can help. Doctor scholl's makes a gel soled sneaker that is made for people on their feet.
Hope it goes away soon.