Huacachina is only 10 minutes from downtown Ica, just on the edge of town. Paracas is a little over an hour away, but it is so vast that you will want to plan on spending the whole day there and come back to Ica in the evening, or proceed to Lima.