Experiment. Go for as long as you can (two weeks at least) without washing your hair with shampoo.
By that time your hair and scalp will have readjusted and you can wash your hair with water as nature intended.
You can add a rinse of apple cider vinegar from time to time, but water is all you need.
It does take time, though, for your hair’s natural oils to do the right thing.