How do you get my ex husband back when i was the one that cheated?

If you cheated on your husband then that means you did not love him in the first place. If you truly loved him, you would not have cheated. So in the end, basically your actions are irreversible.