I've been mentally/emotionally abused my whole life, physically not so much until recently. I grew up with the aloof dad that only seemed to show up to say I couldn't do anything and I was destined to live in a cardboard box if I didn't improve and by the time I was 13 or so, one sentence from him could ruin me. A fairly mild example would be when I was 14:
I'd finally talked my dad into splitting the cost of a basketball hoop for my birthday, just a cheap second-hand one I'd found on a craigslist-like local paper you could get for free at the grocery store, total cost was like $30, and I was in hog heaven for the first few weeks teaching myself techniques I was reading in books. Then my dad showed up and told me everything I was doing wrong even though I was making baskets almost every time already. Turns out every single technique I'd read I had learned "wrong". I was devastated because my dad wouldn't tell me how to improve, he'd just show me what it was "supposed" to look like and it looked the same to me. In six years I've never been able to make another basket because I remember how I was doing it wrong so I either just drop the ball and freeze up or I get angry and miss.
I was probably thinking about suicide from about then on every couple of months, then I'd scare myself out of it because I'm scared of pain and even more scared of attempting an surviving to have to deal with the flak.
More recently, a "friend" has been biting, hitting, hauling me around by my collar, and calling me "his pet" and even though I know I need to tell him to stop, my conditioning from my family's sunken too deep so every time I open my mouth to tell him I magically go mute.
Pretty much how I deal with everything in life I don't like is by playing videogames, writing, or drawing.