To treat an infected ear piercing, keeping the area clean and dry is important. Soak a cotton ball in warm salt water and apply it to the affected area several times a day. You should also avoid touching or scratching the piercing, as this can spread bacteria. If symptoms persist, consult a doctor for further treatment.