What kind of hat is this?

And any advice on how to reshape it?