Bible

I'm confused can someone clarify this to me is it bad if you mastubate? Does it say that In the bible?