Squirting

Is there a way to prevent/avoid squirting during sex or masturbation? I’m young and I feel as if i chose to do anything sexual with my current partner squirting would lead me to feeling uncomfortable. Whenever I attempt masturbating I instantly get turned off.