This is a much more common problem than you might believe. In very severe cases this might fulfill the diagnostic criteria of a psychiatric disorder such as a delusional disorder or pathological jealousy. We cannot make an online diagnosis but we do not think your problem is a distinct psychiatric disorder but more or less an adjustment problem. Nevertheless you and your husband deserve help.
Handling the relation with a jealous husband
If your husband feels insecure and is afraid that the other men were better than him: remind him that those relationships were in the past, and that you are with him NOW, in the present. He is being irrational; he needs to see the difference between past and present. A psychotherapist might be able to help him overcome this, if he will agree to going to psychotherapy. You might also try giving him so much appreciation and affection as you can, in order to make him more secure. Perhaps it can help you to see his vicious statements as his problem and not take them personally. He is being unreasonable.
Many men normally swing between being warm and loving and being cold and without feelings. If your husband ignores you, try to keep out of his way and do something on your own. Call a female friend, play with the kids, work, or do something else which interests you. When a husband is cold and withdrawn, he has nothing to give to his partner and is of no value to her. It is better, in such a case, to create distance and wait until he becomes warm and available again.
Thus let him be and let him do his tasks, until he begins to long for you and comes to you. That way, you will see his best sides. If you are strong and happy, you will be able to take his viciousness better than if you are emotionally vulnerable. Always go your way, when he is vicious. Say "I don't want to hear this". Flee to another room, or go out shopping, or anything else where your husband cannot reach you.
Treatment with medicine
If the problem gets severe, and pscyhotherapy does not help, you might consider medicines. Medicines such as Fontex, Prozac, and Fluoxetine (SSRI medicines) as well as anti-psychotic medicines are sometimes effective against irrational jealousy. Ask his doctor about this. Best is to discuss this with a psychiatrist, who knows more about these medicines than a family doctor (general practitioner). If normal dosage does not help, his doctor may prescribe a higher than normal dosage to get the desired effect.
If the chosen SSRI medicine has side effects, his doctor may try other such medications. In particular, many such medicines may reduce sexual desire and ability to have an ejaculation. Other medicines of similar type have this side effect to a different degree. His doctor may even start with another medicine.