Removing old linoleum and replacing with tiles
First you generally won't tile over plywood.  It will contract and expand too much and your tile will eventually crack.  You will need to put backerboard (size dependent on what is beneath it) over the plywood.  Generally you don't need to repair the plywood unless it is no longer flat.