Question: how to get rid of an infection under your fingernail?
Answer: Antiseptic soaks. Soak the affected area in warm water with an antibacterial soap. ... 
Draining. In most cases, pus will drain on its own after soaking the infection. ... 
Antibiotics. ... 
Prevention.