How do bears prepares for hibernation?

bears need to gather a lot of fat so they eat a lot before the winter then they make a den that might have some leaves and maybe a few berries