There is no known way to prevent vitiligo.
It is important to protect the depigmented areas from too much sun exposure. Wear protective clothing. Apply sunscreen.
Some other medical conditions occur more often in persons with vitiligo. Your doctor will likely ask about symptoms that might indicate a vitiligo related disorder.