Creating a Title

Hello everyone! I know some of us may be in the early writing stage but I am curious on knowing the title for your piece. Did you know your title before writing? During? Or was it something that you decided on towards the completion of writing (if you have completed a piece yet)?