I have a reoccering painful pimple looking thing on my

Patient: I have a reoccering painful pimple looking thing on my toe. When i popped it last time, my toe turned black for almost a month. Im wondering what i should do about it. It hurts bad enough that i cant walk on it..

Doctor: