Re: Problem With Random Erections
Based on the assumption that you posted this in the "teens" board, I'm going with the idea you're a teen. Having said that, if it's true, it's just something we all have to deal with. All of us guys have had to deal with it at one or time or another and it usually occurred during our teen years when we're in high-school and more self-conscience about our bodies.
If it's something that's happening at the most inopportune times, try wearing underwear that are more restrictive, i.e. "tighty-whitey's" and jeans that are a little baggier. And try aiming it downward. This way if you experience a RE, it's less likely to show.
The fact that you experience an increase in RE's because you masturbate is just your body telling you you're primed and ready. Your body is saying "it's time to reproduce".
Instead of masturbating less, try masturbating more often and more frequently. See if that helps.