How can I get rid of fleas permanently?

How can I get rid of fleas permanently?