Like if it’s a potluck party, be sure you bring some food that everyone can pick on, If it’s a drinking party, bring whatever you are going to drink, if it’s a bbq party bring snacks, drinks or food that you can cook on the bbq grill...
If it’s some small gathering of friends, just ask your friend if you need to bring anything.