Starting out fire again

Okay, so need some advice. My boyfriend and I have been together for 3 years and we used to have ALOT of sex now we just kind of do it randomly every so often but it's such a big gap in between its almost like I'm shy all over again when we start getting in the mood! We have a normally happy relationship, just need some advice on what to do to prevent us from not having add at all!