What can a person who pierced a nipple take to reduce the risk of infection?

Keep it clean. Hopefully you assured the piercing place was certified and clean. After that, keep the area clean and you can use topical antibx to the area to prevent infection.