I used to play lead guitar a few bands, my approach to writing was always a bit different to the other members in the sense of which comes first, lyrics or music. As Jake said, most musicians I know write the lyrics first, but for me, it was always easier and more natural to have a riff at hand...