Apalta är en chilensk by som ligger nordost om Santa Cruz , Colchagua-provinsen , O'Higgins-regionen .