Masturbation is a sin.But don't see it for just a sin.Try to see it for a self destructive act that's selfish by nature.
You can't just tell yourself to not do it when deep inside you have the need to do it.I used to have a problems with it and that way didn't work.
The only way,is to...