It's considered impolite to wear a hat indoors, but if you must wear one, ensure that it's a small and casual hat.