This is an addiction . Will not go easily. Masturbation is not a crime or a wrong thing to do but when it gradually becomes an obsession start driving you crazy, you loose control over yourself then it converts into an addiction. Now this needs to be rectified as early as possible. The side effects are that you won't be able to do sex properly later and even won't be able to satisfy your girl which would create performance anxiety ending up in relationship issues.
Next Steps
Kindly consult a Psychologist at the earliest so get rid of rhe thoughts in order to control your mind n body. We can have an on call session if you prefer. All the best
Health Tips
Get yourself involved in some physical activities at home to insure energy utilisation.