I have an infected toe, how do I remove it?

You would want to. Keep the toe, the nail would be better removed by a podiatrist who would give you local anesthesia. You may also need an antibiotic. Performing "bathroom surgery" often leads to bigger problems and can worsen the infection.