Compromise of Police Complaint against husband

I got married on Feb 4, 2018 and conceived the same month. My husband was not very happy about me getting pregnant and expressed his interest to abort the child. As I was looking at the wider picture said that I would keep the child, we decided to go ahead. My husband always doubted me and checked my phone and mail regularly, there were a lot of fights and there were times where he had beaten me too. But I kept quiet through it all as I was scared he would hurt me further. In June my in - laws came to take me to my husband's house in our hometown Kerala. There I experienced a lot of mental agony from my in-laws as they taunted me for my family background. To get some relief I asked my aunt who resided near to my husband's place if I could stay with her for a few weeks. She agreed and with the consent of my in laws I went to stay at her residence. When I was there my husband said that I had physical relations prior to marriage and wants divorce. He tortured me relentless for 3 days and made me say that "yes I did have such relations". I was 5 months into my pregnancy when all of this happened and my husband abandoned me in Kerala. I came to my parent's place and since there was no correspondence between our families or us. I had filed a complaint at the local police station in December with view of the above and my husband said that he would not live with me at all. Today I have filed a DV act case and we are being counseled by the high court advocate. My husband seems to have suddenly changed his mind, but I am scared that he wants to hurt me and my child as during the course of my pregnancy he had threatened to eliminate me and my child. If at all there is a compromise please tell me what all to include in the agreement.