Hi there 
To be honest i can't tell you why you make the same mistakes time and time again that is something you need to work out for yourself. It is a good sign that you know you are making mistakes though it takes some players a lifetime to realise and they stay losing players forever.
I remember years ago i used to make stupid hero calls with my thought process something like "damn i knew he was gonna put me all in here but if i fold im gonna look weak and they will all do it to me next time, i still have 2nd pair i could be good lets see" and all the time i knew i was making huge mistakes but i remember at the time thinking that its weak to fold. 
Do you post hands regularly in the hand eval forums?
Just stick to simple ABC poker at micros get as much money in the pot as you can with big hands and stay out of as many marginal spots as you can until you feel comfortable opening up your range.
Watch plenty of videos too so you can see all the lessons taught here being put into practice, this really helps imo because it lets you see that it really does work to play like this,
Next time your making a top pair call even though you think you are beat stop the session immediately, open notepad or whatever and write down exactly what you were thinking as you played the hand on each street and why you made the call. This might help you figure out why you are doing it and how to stop doing it 
Regards
Carl