Hair oils

So Ive always seen that leaving your natural hair oils on your head is good for your hair. Is that true? I’ve left it for 4 days now. Does anyone know how long I shouldn’t wash my hair and if it’s actually good for you?