Electric guitar...

Look at pictures with dots on strings.

Put fingers where dots are.

Curse if necessary, depending on chord complexity and muscle tone.

Repeat.

Try to change chord, move, slide, etc.

Repeat cursing if necessary.

Shake cramp out of hand if necessary.