Lonely LDR

I’ve been together with my boyfriend for a couple of months now.. And it seems like he is becoming a little more distant in the past weeks and has basically been avoiding my messages. I don’t know what to do to get his attention without coming off needy.