The easiest way to restore a hat shape is to wet the inside with a water-filled spray bottle, place it on a ball so you can shape it, and leave it to dry naturally. You can speed up the drying process by using a hairdryer on medium or high heat.