Hey guys, another noob quesiton.

I'm trying to learn Lamb of God - Walk with me in hell but I'm having a problem. In the opening riff my index finger is playing the 12th fret of the D string. When I go to continue the phrase the harmonic plays out and makes it sound terrible. Any tips on how to mute that bad boy?