What is the procedure of getting protection against domestic violence?

Hi, I am a 35 year old women, seven months pregnant with my second child. i have been facing verbal and physical abuse on and off since past 11 years of my marriage. This time in the 6th month of my pregnancy my husband again physically and verbally abused me, due to which i left his house and went to stay with my parents. His parents and he have been apologizing for the same and asking me to come back for the kids sake. Since this has been going on since so long i do not wish to let it happen again to me. I am thinking of returning because of the kids, since my son is attached with his grandparents. But i want to make sure that my husband never hits me again, and even if at all he does, he gets to pay for it. I am fed up of his verbal, physical and emotional abuse. I just want to carry on with this relationship for the sake of my kids. I read about PWDV act, 2005 and i want protection order for my self so that i can live a safe and dignified life again. Also, i want guidance about if this happens again in future and i file for a divorce, how do i ensure to get the custody of my children. I am an independent woman, with a secure and well paying job. Unfortunately, i am stuck in this relationship and because of children i am ready to compromise with my husband. I also want to ensure that he never repeats his mistakes again as it is not only affecting me but also my children. Thank you.