Struggling I am so sorry you are going through this. I agree with good advice here about getting professional counsellor and not feeling gulty about things that have happened to you (they are not your fault) or about masturbation, which is not wrong. I also agree with pocketsaviour that you may be using masturbation rather than sex because it feels safer and easier to manage.
You do say in your second post that you are having counselling. Can I ask if this is professional counselling and not just a person from church etc? It is important you get professional help. You also mention self-harm and hopefully you can get some help for this. If you Google 'self harm' you get a couple of charities, no idea if these are any good but might be worth a look.....
www.harmless.org.uk/
www.selfharm.co.uk/
www.mind.org.uk/information-support/types-of-mental-health-problems/self-harm/#.VV5OQUajtWQ
www.nshn.co.uk/
The experiences you had may have caused you a kind of trauma you are finding it impossible to move on from. Although prayer is very helpful, Christians do not normally aviod medical help and just go for prayer if there is something wrong with their body. The mind is part of the body and so with our minds when they are hurt or damaged by traumatic experiences etc it is important to seek proper medically qualified support and help as well as praying. I suffered from anxiety about 15 years ago, I got a lot of prayer for it but it never went away. My lovely GP refered me to the local hospital for counselling and I was made better very quickly. I am sure God helped to heal me, but I needed professional help.
I am not sure how long you have been seeing your current counsellor but if in the long run (or the short run!) this does not work for you, please seek help again and ask for specialist help for the abuse you have suffered.
Does your husband know all about the past? I am not saying he should, it is your life to tell or not to tell. I am asking because if he does understand it may help him to be understanding when you are together.
Also, in my humble opinion it may be helpful for someone to support you. Is your husband able to help and support as well as to advocate for you? By this I mean if you can't get the counselling you need, can he help you to get the right help?
If not, is there another person who can help you? Important that they are not judgemental. So you do not feel alone and you have another non-judgemental and caring person who can tell you that you are not to blame for what happened and for what this has done to cause this effect in you?
The thing that shouts out from your posts is that you feel ashamed and I absolutely want to shout back at you (in the nicest possible way) that you do not need to be ashamed for things that happened to you in the past.
Remember Jesus loves you very much and you are a special and wonderful person who needs some help to make sense and move on from the pain of the past.
I sincerely hope this message is not over the top with too much information etc. please only look up what seems helpful in terms of the websites I cannot vouch for them I just Googled them.
It seems clear that the self harm is in some way tied into the abuse and I don't think you will necessarily be able to tackle one without the over but I don't know, as it is outside of my experience. I have a dear friend who also had an abusive past, and is a lovely Christian lady who also self harmed - and so your responses to the past are probably quite common and understandable. Again this is all reason not to feel guilty or terrible for what you are doing but to find the help you need. Lots of people masturbate and I don't think it is a problem, but I can see for you it is a problem in relation to your relationship and maybe is just an indicator of your inner turmoil. Please do surround yourself with non-judgemental people.
Bless you.