How do you fix gas tank cover that will not open when lever is pulled?

you replace the spring inside the gas cap that pushes the door open