Your husband just said something to you which sounded attacking and critical, but the solution is to not get in the sand box with him. Be the adult and be direct: "I feel hurt/sad/alone in the relationship when you talk to me like that. If you feel angry or frustrated about something that I did, then talk to me as your partner, and don't push me against the wall with your words."
So, those are my five examples for you. I hope you let it all marinate, and reflect about how you are in your marriage. Most importantly, be respectful, be an adult and for the love of god, be smart. 9 Love Lessons I've Learned In 10 Years Of Marriage