You can use your right hand to protect the string, or you can use your left finger to protect the string and stop the sound, or you can loosen your finger slightly. There are many ways to protect the strings of an electric guitar. I think it's up to me to find the best way to protect the strings in different situations.