Generally the lyrics comes first, and the music later, but you can do it the other way around. It depends on the person.
The lyrics should come first. After you have your words, you then figure out the tune that goes along.
usually the lyrics:) and somethings both:) wht bout u?