That has happened to me before and I think it happens a lot. Please don't be too hard on yourself. There is a technique called "paradoxical intention" that has helped some people with that issue. Never tried it myself. Wish I knew what to say to help you. Such things can provoke unhappy emotions and moods.