I have struggled with it as well. As well is that it the temptation keeps coming back. Some people say masturbation is a way of temporarily satisfying your libido but it just enhances it in the long run. I originally thought if I do it without lust it is not a sin ,but it doesn't work like that. God created sex to be in the context of marriage. Not for you to be fapping in the corner over thing purely created for lust.
Finally, you should use your body to glorify God as it says in Corinthians.
Or do you not know that your body is a temple of the Holy Spirit within you, whom you have from God? You are not your own, for you were bought with a price. So glorify God in your body. (1 Corinthians 6:19-20 ESV)