Castor oil

Is this an effective and safe way to induce labor? I’ll be 40 weeks next Wednesday but will be getting induced at 39 weeks and 4 days which is Saturday. I am terrified of being induced because I’ve been told the pain is still much worse but I am also scared to have a big baby!