How do you write a song?
make a specific plan for how you and/or others are going to play a brand new piece of music, in a way that you can understand that plan later. if you cant find a way to convey what you meant for later retreival, then you will have to just remember it, which is not always reliable