<human>: What is the best way to keep a hat from losing its shape?
<bot>: The best way to keep a hat from losing its shape is to make sure it fits properly and use a hat tree or other device to help maintain the shape. Additionally, avoid using too much hairspray or other products that may damage the fabric of the hat.