Painful corn!

I have an extremely painful and swollen corn on my right pinky toe. It has gotten so bad that Any shoe I literally wear even though it's not a tight fitting shoe, it causes me so much pain. Even when I don't have shoes on, I still feel alot of pain. please help!! :( does anyone know what I can do? Thanks!