Erectile problem

My husband cannot keep the erection while intercourse. I really want a baby. What to do? Please help. Its very hurtful.