How do I make sex better?

My bf just recently told me that he doesn’t enjoy sex anymore. It sucks to know that but I’d rather him tell me instead of not fixing it. We were each other’s first so neither one of us have much experience. What can we do to make it better? We’ve tried doing different positions.