Please have a look at the examples and explanation in the wiki: https://wiki.openstreetmap.org/wiki/Key:hov#Without_using_permission_inheritance
If you want to revert your edits and restore the old tags you can use this website: https://revert.monicz.dev/