You'll probably hear it a lot from this bunch, but my advice is to tell your H just exactly what you told us. Tell him you screwed up. Tell him that you know you hurt him with your behavior. Apologize. Tell him you love him. Tell him that you know things won’t be perfect right away, but that you’re committed to working to make it better. Ask him to help you. If he still has any feelings for you at all, he’ll respond. He’ll be guarded until he’s convinced that you really do intend to change things, but he’ll respond.