Most Helpful Girl
Tell your wife what is happening before she finds out from someone else. This will probably end your relationship but it will end it in the best way possible if it comes from you. Don't blame your friend because it's not what she wants to hear. Tell her how sorry you are and that you never meant to hurt her.
I know you won't want to, but the best thing to do is be honest with her.