Infidelity Support Group
Any relationship in which one partner engages willfully in sexual relations with another outside of the partnership is considered to have experienced infidelity. This breach of trust is often traumatizing for the faithful partner as well as the relationship, and support is often needed to heal emotionally and to decide whether or not the relationship should continue after...
If your husband is forgiving you, then you can forgive yourself. Focus on creating a happy home for the three of you. But get professional help!
You can practice meditation. You can read Louise Hay. There is help out there in many forms, but do it and do it now.
Actively be a better person and adopt good character traits and act more selflessly and focus less on how you feel about yourself. Being less self centered/focus can be achieved by practicing empathy, especially with your husband.
Also I would consider getting a paternity test once the child is born. He needs to know that this child is his or not for certain.