1. I finished the whole song or "outline" first. Having a guitar handy definitely didn't hurt any.
2. Take note the fact that I wrote a chord melody so by default I have both the chords and melody telling me what to do next.
3. Listen to your ideas. So many apiring artists try to just throw things in all at once. Let the song write itself. Trust your instincts and learn to enjoy the process!