Not into it

I’ve been with my boyfriend for 3 years and when we get intimate I’m really not into it at all anymore I’m not sure what’s changed but I don’t know how to fix it I’m attracted to him we’ve been together since my junior year of high school we live together now but it’s just when we have sex I just lay there and I hate that