A headband that keeps on adjusting itself might be losing its elasticity, or the holding mechanism might be wearing down. This usually happens with headphones that have seen a lot of use, and unfortunately, the more you use them, the worse it will get. If you don’t want to buy a new pair, you can look at a DIY option by tying elastic bands around the headband to prevent the top sliding down.