Writers - at what point do you name your fic?

When writing a fic, at what point do you name it? When you first come up with the idea? During editing? Scrambling to figure something out before you post it?