Work Christmas party

Hi all. Wanted to ask what’s everyone’s thoughts please on attending a work Christmas party when you’ve recently joined a new company. Do you have to go? Or what reasons can you give to decline politely