Jeah.
That's right.
I used to have the same problem, and the key is to stop thinking about it like it's a problem.
In fact, the key is not to think about it at all.
Do something that'll take your mind off of it. and get involved with that other thing.
Don't expose yourself to stuff that's really sexual.
(i.e. don't look up porn. at all.)
and basically just preoccupy yourself.
Another good tip is not not be alone in areas/situations where it's easy to get off without anyone noticing.
Like...take short showers.
When you're alone in your room leave the door open, don't stay in bed too long once you've woke up in the morning...Even leave the door open a crack when you're getting dressed after showering.
Don't stay in the bathroom too long and generally make sure you're not alone a lot.
That really helps ward off masturbation problems.
tRust me.