That's great! You said something before about how you feel like you were to blame for your problems. I'm not going to argue with you, I really have no idea what your marriage is like, but it sounds like there are already things you know that you need to improve. You need to talk and really, really listen to he's saying.
I'm sure there are things that he needs to improve on as well, but you really have to leave that up to him. When you change the way you treat your husband and your marriage, it's likely that he'll just follow suit. This is how it worked in my marriage, and the change was pretty drastic and basically painless.
Good luck. I know people have told you it's over and that it's time to move on and I hope you don't listen to them. People told me the same thing, and I'll be forever grateful toward those a**holes who told me that I was giving up to easily.