How do painters protect outside walls or windows?

They use masking tape and coverings to avoid paint splatter.