Is it OK to masturbate

Masturbation seems to be a natural way to release sexual frustrations and physical needs.  Nocturnal emissions or ‘wet dreams’ do this naturally at night during your sleep.  Masturbation itself is not wrong in and of itself.  The bigger question is:  What do you focus on while you masturbate?  Most of the time the answer to that question is pornography.  Jesus said that when you look with lust upon a woman you have committed adultery in your heart.  The lust you use for masturbation is then sin.