I tape immediately prior to a polishing process, after a thorough cleaning (wash).
If I'm polishing the winshield or other windows, I do those prior to working on the paint and tape off to prevent getting the window polish on the trim or paint.
Likewise, once the glass is done, I remove the...