Water your rosemary plant deeply when the soil feels dry to the touch, but avoid overwatering, as this can lead to root rot.