To prevent an object from moving when a force is acting on it, you need to apply a force in the opposite direction with a greater magnitude than the force acting on the object.
So, the correct option is: a force applied in the opposite direction with a greater magnitude at the same time.