The best book about abstinence is Brother Feixiang's "Abstinence as Good Medicine". The address is here:
/p/32292 19645
There are many ways to quit color, and the common one is running or push-ups when desire comes, which is used to consume physical strength and divert attention. The most important thing is to develop good living habits and healthy hobbies. When you feel that masturbation is meaningless and harmful from the bottom of your heart, you will naturally quit.
I hope I can help you and I hope you can succeed.