White spot disease is caused by ich parasites in the water. These parasites attack stressed out goldfish with lowered immune systems, especially recently purchased fish.So keep your aquarium water healthy and avoid drastically changing water temperatures