What happens to an amendment that is not ratified?

It goes to the states for changes and a new vote.
It is not put in the Constitution but remains a law.
It is sent to the president.
It is not put in the Constitution and is not a law.