You managed not to gamble for 6 months which was no mean feat. Is it possible to learn from what you did then and put it into practice again.
nI am sure if you have read around the site – you know the 4 ways of stopping are 1) to ban or exclude yourself from places where you gamble 2) to lose access to money – get someone else (your wife?) to handle your finances. 3) to get great support for yourself – by attending (virtually these days) self-help groups (https://gamblersinrecovery.com) or through counselling. 4) By finding other passions which will fill up your time so you will not be bored, just be careful not to substitute another problem behaviour for gambling.
nI know people have problems with 2) because it means coming clean with loved ones – but it IS always better that the news of your gambling comes from you – than the partner finds out. It is not something to rush into though and you may wish to get advice from experienced GA members for example. I wish you well.