Animating a Spring Compressing/Decompressing

I’m wondering if there are any good techniques for animating a spring compressing and decompressing.

I’m very inexperienced in animation, and would appreciate any help on this subject greatly.

Thanks in advance!

Screw modifier. Animate the Screw factor for compressing/decompressing.

Check out this tutorial:

I wrote a series of tutorials on this topic.

Best wishes,
Matthew

Thank you both!