To determine the scale factor for dilating a square from a side of 6 units to a side of 18 units, you can use the formula:
\[ \text{Scale Factor} = \frac{\text{New Side Length}}{\text{Original Side Length}} \]
In this case, the new side length is 18 units and the original side length is 6 units. Plugging in the values:
\[ \text{Scale Factor} = \frac{18}{6} = 3 \]
Therefore, the scale factor you should use is 3.