Sometimes it's best to write the music to a song first, so you can have a feeling for what kind of emotion the song will evoke, then you can add lyrics.
When you have an idea of what you want to sound like or what your music already sounds like...build off of it.