You can wear hats and beanies under helmets. Depending on the type and style of the helmet this may reduce or increase the performance of the helmet. Most manufactures recommend not wearing a hat under helmets.