Should gutter guards be installed under shingles?

Should I install gutter guards under shingles, and what should I consider to do it correctly?