I'm sure you feel a little better now that you have addressed the problem and tried to solve it
You are beginning to learn how to cope in a more healthy way
Obviously, this did not completely cure you of the anxious thoughts holding you captive, but it is a step in the right direction