Spring span?

With a force of F=5N, a spring can be stretched by 5cm. How much energy does the spring lose if it is stretched by 20cm? I was given this task, but I don't know how to handle it. Best regards and thanks in advance for any help.