As regards you husband, people who haven't been there will find it very very difficult to understand it and it would have been a big shock for him.
Regardless of anyone else around you, you need help.
One thing that will need to be looked into is whether any side effects of medication could be having any kind of an effect on your state of mind. I've had it happen and it was extremely unpleasant.
If that has been excluded you need someone who can help you with your immediate state of mind and help you make a plan for ongoing care and review, e.g. medication supported by some kind(s) of therapy.
Therapy may help you understand why you do it (eg feeling out of control) and what triggers it and help you to maybe find other ways of dealing with those emotions and triggers.
If you cannot fight off the urge, at least at first, then try and have some things in to at least help prevent against infections such as wound wash and making sure anything you use is completely clean.
Don't be embarrassed. It's a lot more common that you probably think and there is help out there. It will need you to be strong too though but you need some help getting on a level playing field to be able to establish coping techniques and ways to make you feel better in a way that doesn't hurt you. I know it seems like it is helping more than hurting at the moment but it can escalate and make It harder to accept help further down the line.
I hope you get the help you need x