What did I do?

I feel like I’m forgotten or a side note to him. Its like he only loves me when it’s convenient for him and I hate it. I can’t do anything about though because I don’t want to hurt him or our relationship. I love him but I feel used sometimes. I don’t know how to deal with this.