Age isn’t really something to worry about when you are in a relationship. As long as you are both legal, all that matters is the level of your maturity. You should also make sure that you are not dating someone who’s role is a parent in the relationship.
Yes i think it does matter, not if its like only a couple years apart, but DONT be like my grandpa who is dating a 35 year old (which by the way is not even as old as my mom!) and he is 60 something! dont be THAT far apart.