The topic of the songs you write is often very personal to you. But you can write about literally anything. It's important to keep in mind that there are certain universal ideas that will resonate with more people, more often. Those topics include love and relationships, loss and sorrow/pain, interesting stories, inspiration and living life and even introspection and philosophy. The most popular topic to write songs about is, of course, love and relationships.