First of all we have to make our mind and have to accept our loses there, stop chasing them with hope to get recover and find something interesting to do offline because it is so much hard to stay away while we have easy access to internet.
ya try to forget the defeat, then try to go out of the house with some of your friends.
I'm sure if you do it every day, the next day at least you have a little bored with gambling.
yes essence if you go back to gambling I hope it was just for fun.