How can I repair my relationship with God?

For maybe the past month I've been rapidly losing the desire to live for Christ. Haven't read my Bible, haven't prayed, been listening to more secular music than Christian music. I still go to church and youth groups but treat it as much more of a chore than giving glory to God. I don't know what caused all of this to start happening but it did. I'm not bored of church exactly and learning about the Bible but I'm tired of these rules.. I just kinda wanna live my own way and go my own path but I'm scared of doing that and know it's wrong. So, how can I desire living for God?
How can I repair my relationship with God?
Post Opinion