How do You Write Songs?

You can write a song with just knowledge of music. Writing songs is more creative than anything else. If you are writing music the music and the lyrics then you might want to take a class on the musical notes and such.