How should gutter guards be installed?

How should I install gutter guards? What type should I choose, and what are the necessary steps to ensure they’re installed correctly and safely?