Vaseline, or petroleum jelly, repels water and is not water-soluble, so plain water will not wash it out of your hair. You will need to incorporate something, like dish soap, that can break apart the bonds in the Vaseline. Using something like corn starch can also help absorb the Vaseline, making it easier to remove from your hair when you wash it.