You can soak your foot in warm water with Epsom salt, apply an antibiotic ointment, and take over-the-counter pain killers to relieve an ingrown toenail.