Soak yourself in whatever inspires you to write. Then it won't matter what comes first: you'll always be being true to yourself and original.
Personally, I always write to a theme - whatever I want to express and go from there.
If I just so happen to be playing a riff or progression that makes me feel/think of something then I base the rest of the tune/lyrics on the emotion/theme.
Hope that helps :)