To find the length of each side (when you have the perimeter), you would take the perimeter and divide it by 4 due to the square having 4 sides.
Equation: perimeter (38)/number of sides (4)
Therefore, the length of each side is 9.5 or 9 1/2.
I hope this helps!