A particle of mass m that is attached to a light spring is executing simple harmonic motion in a horizontal direction. State the condition relating to the net force acting on the particle that is necessary for it to execute simple harmonic motion.