Keep unopened Champagne somewhere cool, dark and still — around 10–13°C, away from light, heat swings and vibration — and don't leave it in the kitchen fridge for months. Once opened, seal it with a proper sparkling-wine stopper and keep it in the fridge, where it holds its fizz for one to three days.
State
Do
Why
Unopened
Cool (10–13°C), dark, no vibration
Heat, light and shaking spoil it
Long term
A wine fridge, not the kitchen fridge
Stable temp; the fridge dries the cork over months