They pull the cup liner up about an inch above the ground. When you putt, you just have to hit the cup and pick up your ball. Nobody touches the flag.
Dont touch the flag. And I dont have to worry about this very often. Make sure that everything is sanitized Afterward if I accidentally go in the hole.