Go right ahead and enjoy the celebration with your coworkers while you maintain your professionalism while you remember that you'll have to face these people on Monday. Your professional reputation is at stake, so guard it with a clear mind. If your office is having a holiday celebration, you should attend unless you are sick.