Tmi what can I do for an infected toenail

gr
Okay, so I noticed my big toe looked a little swollen when I went to paint my toes and I can tell its infected. I woke up this morning and it hurt extremely bad so I took my sock off and my toe was even more swollen and now purple looking. I pushed on it and a ton of puss came out and it hurt so bad but I just kept pushing and I think I got it all out. So disgusting I know. Is there anything else I should do to it or should I just leave it alone and hope it heals on its own. It's so nasty looking.