being bored with sex

So me and my boyfriend have been together for 3 years. But we now rarely have sex, I just feel like it's not fun anymore like it used to be, so what's the best way to make sex not boring. Should I just tell him?