Can you use an aed on someone who has nipple rings?

No. Remove them first they would act as conductors of electricity.
Yes. The pads from the AED should not be placed directly over the nipple rings but this shouldn't be an issue as typically one pad is placed in the midline over the sternum (between and above the nipples) and the other is placed on the left side, lateral to the left breast / nipple.