Friendship is a two-way street. By being a good friend, you’re giving all the things that you expect your friends to give to you. If you expect them to be kind, supportive, and fun, you have to be that way, too. Look at what you require for a good friend and be everything on that list. If you need your friends, chances are that they need you, too.
In short, keep good friends and be a good friend.