Most of us have some inkling not only of how we'd like to be better but also of what we need to do to get there. Rarely is our failure to act the result of a lack of knowledge. We don't really need more information. We need to do what we already know. Real change can only come about by taking action.
The key to real, lasting change lies somewhere between what you know and what you do. It's what you think. To shift your behavior, you need to start by transforming your thoughts. We all act the way we do because of certain core beliefs and the thinking patterns they generate. We do what we do because it allows us to live consistently with those beliefs - at least in our own minds. As long as those thoughts stay the same, our behavior isn't going anywhere - no matter how hard we struggle to change.
Simply denying the thoughts won't make them go away. The more you try to resist or avoid them, the more they pop up everywhere. Instead of pretending they don't exist, start by using a nonjudgmental observing technique. Be a witness to your thoughts. Watch them float into your mind without becoming attached to them or fighting against them.