Guys are so weird

I’ve been talking to this guy I know for about a week, at the beginning he text me all the time now he’s texting less and less. I don’t know what to do, do I keep texting him. I’m 17 and he’s 21.