I write the lyrics first, handwriting them initially then, when they are becoming complete, type them out on the PC.
There follows quite a bit of editing when I come up with the music, and have to marry the lyric and music together. It probably takes a week or so from the original title idea to be ready for recording stage.