castor oil woth 40 w 4 days

Genny
Anyone try castor oil ? some people say it not safe for the baby and i went to the pharmacy and i asked the doctor and he said no idk what to do ?