...why would you want to prevent it? I get boners while making out with a girl, and even while feeling her up, and all of them have taken it as a compliment (and it usually serves as a nice segue to Greater Things, if you get me), so don't worry about it.