gismo
Touchdown! Greaser!
There is no hard and fast rule for recovering. A PIO does not have to be during the landing phase. It's simply the pilot over correcting back and forth making the problem worse. Sometimes it's easier to just give up and hold the stick back and wait it out. Sometimes it's better to slam power and get the hell out of there. Sometimes it's better to fix it by just not over correcting.
Ron's suggestion may not always be the most optimum solution to PIO on landing, but IME it always will resolve the PIO. The one case where this isn't true that I can think of is in a glider (or anytime you don't have power available like an emergency landing). Pitching up protects the fragile nosewheel on a tricycle, and power keeps the plane from slowing and stalling. With a tailwheel airplane touching down in the midst of a PIO pretty much guarantees a big bounce and pitch up with power is your best hope in that case.