I would say there are 4 things you need to do if you want really want to stop.
Firstly – lose access to gambling sites – by using blockers (there is a link here – google others … https://www.gamblingtherapy.org/en/blocking-filtering-software )
Second – lose access to money – if you can get a trusted family member or friend to handle your finances for you.
Thirdly – lose access to time to gamble. Find other things to do. More practice? More gigs? Learn another instrument?
Fourthly – get good support for yourself. So this is GA, a therapist / counsellor, self-help group, online support on here or other gambling help sites.
If you seriously feel that going from this addiction will drive you into another one, then I suggest you need to look into what is creating this in you – either with a counsellor or self-help group like co-counselling. I wish you well.