Make multiple playlists with a pre-selection of music you think the people will like based on genre, time of evening, or anything else you think is a good devider. Select them like vinyl dj’s would select which vinyl they would take to a party.
If you do too little the set is very rigid with little opportunities to change your mind. If you take too much you may get lost in your collection. About two times the amount of tracks you will play seems to be a good baseline. But ofcourse opinions will vary on that. You’ll learn those things with experience.
Also, don’t be afraid to just try some things you’re not sure about. It’s ok to pick a few wrong tunes, just like it’s ok to make some mistakes. Some hotshot dj’s make mistakes intentionally to show that they are really doing the dj-ing and are not playing some pre-recorded set.