If there are three or more ribbon counters on Prize Pig after you put ribbon counters on it, all of the counters will be removed. It does not matter whether or not Prize Pig is already untapped.
Whenever you gain life, put that many ribbon counters on this creature. Then if there are three or more ribbon counters on this creature, remove those counters and untap it.