Is castor oil ok to use after birth??

Va

I'm having big problems with bowel movements, I sit on a toilet for 30 minutes in pain and nothing happens... I am 11 days after delivery, my bowels already opened a while ago, but every time I need to use a toilet I have problems...