I’ve used a lot of different kinds and have some opinions.
The cheap bluetooth headphones you can get from any number of brands on amazon are great for a “throwaway” pair that will ruin, because the truth is, no matter what you do, the sweat is going to penetrate and break them down eventually. They usually last me 6 months to a year before they break or I lose them.
I prefer the in ear with ear hooks like shown above, but the over the ear work fine too, just a matter of preference.
Over the head earphones are best for sound quality and noise isolation but you will sweat like crazy under them and the glue on the pads will break down over time.
Right now I’m using the Sony MDR-zx as over the ear when I want sound quality (https://www.amazon.com/Sony-MDR-ZX770DC-Bluetooth-Canceling-Headphones/dp/B010MTKXLE). And I use the Samsung Level Active for outdoor rides and other indoor rides. (https://www.amazon.com/Samsung-Wireless-Bluetooth-Fitness-Earbuds/dp/B01JEQMBPM)
Both of these can be had at Costco for cheaper than their amazon prices and the samsung onces have held up well to riding, weather and abuse on the trainer and in the gym.