Cankor sores?

I've gotten them since I was little and I can't figure out a way to prevent them. Anyone know any tips?