How can I protect my floors when painting the walls and ceiling?

How can I protect my floors when painting the walls and ceiling?