Wife harrasment

Hi Sir, Its been 5 years I was married and from the beginning my wife is harassing me and doubting me and given me mental torture by threatening me by trying to hang and crushing her neck etc. Due to her behaviour I've decided not to have kids and eventually she treating me so badly at home by not fetching me food for almost 6 months. She threatend me not to live with my parents and forced me to live separately with her from 3 years. In this pursuit as a human I've shared my feelings and concerns with one of my female friend and slowly we have become closer and we fell in love and we had Intercourse. And now my wife had the photos and call recordings with her and torturing me everyday using that as proof. It's been 4 months we broke up ( my friend) each other and we are not no more in touch. Eventually me and my wife planned to go abroad for studies and my dad agreed that he will support me financially and I've insisted her father to support his daughter ( my wife) financially. Now her father denied the support and blackmailing me and my dad to pay the fee for my wife education too. Her father one day called to my dad and blackmailed us that he will go to my friend house and inform her parents about our relation that we been for few months. I really don't know what to do.. They are dragging an innocent women into this issue. It's been months that we spoke each other and she is about to get married. I was afraid my wife and her father may go any extent to file false case against me and my parents. Kindly advice any legal remedy to come out of this mental torture that I'm facing everyday.