When should I use/not use '-w' for fastboot flashing?
You should wipe the data once, when you start.  This may not be necessary if you are (for example) only flashing a recovery, flashing a very similar ROM, etc.

You shouldn't need to erase images/partitions before flashing over them.