I don't understand, I am getting mixed signals.

I hear some Christians say that masturbation is a sin, and I hear some Christians say that it isn't. I honestly don't know who to believe. Some Christians say that it is not a sin due to it not being mentioned in the Bible, but others say that it is an implied sin, despite it not being directly discussed. So which is it!?