Don't be upset. Your marriage is blessed by Lord. Just see a doctor together as soon as possible. That could be a short term problem, which is affected by other physical problems, go find out if your husband have other sicknesses that affect his sexual ability.
Since you have decided to take his hand as your husband in front of the Lord, you have promised to be with him no matter in sickness or proverty. If you really love him, you should stay with him. You should know how important this problem is to males, and as his wife, isn't your responsibility to stay besides him? pls don't run away.