How to protect cables against mechanical and environmental damage?

How to protect cables against mechanical and environmental damage?