Cramping in Hamstring, Fix?

Okay, I want to start off by saying I have never actually had it cramp up while I’m lifting. However, if I curl my left leg up and flex the hamstring, it will cramp at least occasionaly. It is only my left one, my right one has never done this.

Is there a way to stop my left hamstring from cramping, or is this not really an issue? It hasn’t cramped in any lifts yet, but I don’t want to be doing a ATG squat and have my hamstring cramp up.