Hangnail on big toe is infected. What should I do?

See podiatrist. As they can fix that in no time. Until you get to one, you can soak in warm water and epsom salt and apply a topical antibiotic.