When to stop watering potatoes

Overwatering will ruin the crop