In mild cases, ingrown toenails may be treated with a 15-20-minute soak in warm water. Dry cotton can be placed under the corner of the nail. Talk to your doctor if you have increasing pain, swelling, and drainage of the area. Minor surgery can be done to remove the part of the nail that's poking into the skin.