A ring of protection improves your AC by its enchantment; for example, a +1 ring of protection improves AC by 1. Conversely, it decreases your AC by its enchantment if it's negative. The enchantment can be altered by charging. It self-identifies when worn for the first time, unless it is +0.
Eating a ring of protection has a chance of permanently changing your AC by its enchantment.