I dont want divorce and want my husband back

Hi Before marriage i am in love with guy and i told to my husband abt it.he accepted and married me. After marriage i chatted in fb with 1 or 2 guys abt him but never met anyone and cheated my husband. I used to stay with Inlaws and due to inlaws issue i chatted in fb to my frnds scolding inlaws and husband. But even in some chats i used to write i love my husband. After 1 yr my fb was seen by my husband and my parents came and signed aggreement paper. Later until 6 months i was house arrested and daily blackmails was done. All ppl who are mediators realised like i changed now but Inlaws still tortured. One day all 3 ppl left me as my dad dint came again wen they called for scoldings. It had been 1 yr my husband left me. If i go to police station afraid wether they will give divorce or wat. Even i triied and now to my dad he is saying he will give divorce. So pls let me know how can i save my marriage. Even in dat 6months his dad took my salary card and all. Watever his mom says he is doing. Please help me i want him back. I really changed but before fb chatting also i used to have inlaws problems at home. I like my husband but due to unmaturity of mine, i spoiled it. Pls help me wat to do now. He knows like my character is gud dats y he accepted but now with no option and evrybody scolded dem by leaving me alone he started showing my fb chats to evryone. Suggest wat to do now