Please help.

I'm a week and 5 days postpartum and I really need a sexual release I have the feeling that I want to masterbate or have sex like right now, and the urge is really getting bad :( I was so used to me and my someone having sex about 3 times a week even during whole pregnancy and we now haven't had sex for almost 2 and a half weeks and I'm going crazy. I can't be the only one that is horny and tempted to be sexual. I still have pain but haven't been taking medicine for it. I just need a release. Could I masterbate? Since that's less risky or will it cause pain :( I'm scared.