We all want to have lots of fun and stay safe at the same time, and there are things that can be done which make the social world a much safer place. Here they are.
Don't drink so much that you might have sex with someone without checking that s/he is awake and willing.
Don't assume that if you have had sex with someone on a previous occasion that this entitles you to have sex on that person whenever you feel inclined.
Don't assume that a person who enjoys or accepts one kind of sexual activity (such as kissing) is therefore available for any and every other kind of sexual contact that you wish to engage in.
Don't tell someone that s/he is 'safe' with you when you actually intend to rape the person.
If you know you get a bit rapey when you are overexcited, ask your friends to keep an eye on you and remove you from the party if you start crossing the line.
If you know one of your friends is a bit rapey, make sure that he is never left alone with someone who he might attack. In fact, stop being friends with that person. Rapists are not nice friends for you.
Stay safe and look out for your friends.