How long does it take for castor oil to work?

Just curious.