ok, Hooke's law applies to the idealized case of a spring. The further you stretch the spring, the greater the force opposing the stretching, in other words, it assumes that the force increases linearly with distance.
F = -kx
where k is the spring constant, F is the force generated by the spring, x is the displacement from equilibrium (where F=0). Any basic sample problem will require the equation re-arranged; or substitution of another variable into the two changable variables, x and F; or balance the equation with another force (say, a mass on a spring so that F = mg).
You could also ask to determine the velocity and KE of the spring at any time or displacement of x. Or you could find the general solution to the differential equation of a harmonic oscillator, which is what you've got with a mass on a spring, and find sinusoidal motion in space, decaying exponentially with the damping constant. So it depends on what depth you need.