Sorry you're having a hard time OP. Theres a weird taboo around women enjoying sex, but no excuse some of the rude responses on here.
My experience of this: I had three natural births with one episiotomy (first one) and two tears. No forceps. I didn't attempt sex for a couple of months after birth and found my orgasms were muted for a while. I actually found sex different / not as great for the first six months after my first, mostly for hormonal reasons (and constant tiredness). With my second and third things bounced back quicker, because I was much more on it with my core exercises.
I'd say it's likely trauma from birth, your hormones all over the place, and pelvic floor weakness. All will pass.
From what you've said it sounds to me you were masturbating not because you were horny but because you were worried about sexual function. That worry may in itself affect your orgasm if you're worried about it. Of course it goes without saying that if you were masturbating our of horniness then all power to you and go for it. Not sure why people are taking such offence at that.
Try not to worry, give yourself time, and do core exercises (not just pelvic floor). I've got three kids and have a healthy, regular and fulfilling sex life. It does suck a bit post birth (especially if you're breastfeeding, I did with all mine/still am) but you will recover.