Ugh. Yes. I think it is extremely sage advice that you seek parenting classes and read as much as you can get your hands on. Also, a group might be really great, too! If you like that sort of thing (personally, I love group settings. I love getting to feel human).
I commend you for wanting to break the cycle and give your kid (and you) a chance