NC'd for this, its going to be a long one so apologies in advance.
I am in my 30s and have messed up my life, I can't get close to people, I push them away the minute I start having feelings and I don't know how to change. My life has been mostly shit so far and I want to break the cycle, and stop the self pity but I don't know how to do that either.
When I was a child my mother ran away from my dad (who was abusive I believe) and moved in with my step dad. Within days he was sexually abusing me, my mother turned a blind eye to give my siblings a stable life is what she told me when I confronted her In my 20s, she allowed him to film me in the bath, grope me, climb into my bed, give me intimate medical checks (he was a health professional and used to tell her I needed checks) say very inappropriate things and shower me amongst other things. This was just what she saw, what she didn't see (chose not to) was much worse, and lasted from the ages of about 5 to 13/14. When I confronted her she said she suspected he and I were having an affair but forgave me for my siblings sake. When I told her what happened exactly she said something along the lines of 'get over it, lots of people have it happen'. I went no contact with her at that point.
I had my first child, who'd dad wasn't interested at all, I loved him more than I ever thought possible, he sadly died when he was a few months old. I fell apart and went completely off the rails, got into endless abusive relationships and tried to get pregnant, when I finally did I was over the moon, decided to stay with the dad, we got married and he carried on being abusive, emotionally, financially and sometimes physically, but I could handle it because I didn't really love him. We went on to have more children, I wanted a huge family, my husband was always somehow separate from me and our children, which suited me fine, then I had another child who died from a genetic condition at a very early age and I crumbled again.
Since then I have found it so easy to push people away, if someone says one thing to annoy me I ditch them, I can't get close to people and its a horrible lonely feeling.
My husband and I split last year, we haven't spoken and he hasn't seen our children much at all, things have been difficult with them, my dd is going through a long awaited and hard fought diagnosis for asd, my other child is going through some issues which are thankfully being addressed because i have been kicking up a fuss for months now, and to top it all off I was casually dating someone, accident got pregnant, despite being very careful, and he has decided to walk away, not that I'm bothered about him as such but some support would be nice.
Because I've spent so long pushing everyone away I now have exactly what I thought I wanted, nobody. If I have nobody then I can't get hurt anymore. Only it does hurt, being alone, fighting for my kids alone, supporting them alone.
I don't know how I can let anyone in anymore, I don't even meet people as I work alone at home, have my children and am now pregnant.
I don't know how I got myself in such a mess 
I've tried counselling but it wasn't for me, the doctor wanted to give me tablets but I am on my own with my children and don't want to be 'out of it' at any point.
I don't know what I'm asking for, maybe I just needed to vent, but if anyone has a magic wand could they wave it in my direction and fix my life please.