The one rule: balance, never echo.
A round face wears angular hats. A square face wears rounded hats. A long face wears wide brims. A heart-shaped face wears medium brims that sit a little lower. The goal is to add the shape your face does not already have.
Before choosing style, measure your head circumference to get the size right. Face shape decides style; head size decides fit.