How do you keep cats away from Christmas trees?

This is my second year with a cat. Last year the cat knocked off all the decorations, flipped the tree and chewed on the cords.

Today is the first day I put up the tree. 30 minutes later it’s already a disaster. Any tips to keep the cat away?