Farmers can keep their soil fertile by
Repeatedly growing the same crop
Irrigation
Crop Rotation
Regular Tilling