You will have many opponents who take bad gambles. They hope they will hit the flop hard, and that you will pay them off.
How often will they hit the flop hard? If you don't count straightflush draws using one card, then a hand like T2o will outflop an overpair about 3.5% of the time. Some of those times will be with two pair, and an overpair beats two pair about 25% of the time.
If you are raising only with AA, then you will like almost all flops, and so you will pay them off when they do hit. However, if you raise with QQ, will you stack off on a flop of AT2? Probably not. If you raise with AK, will you stack off on a flop of 922? Again, probably not. So, you aren't even paying off all of the times they hit the flop with two pair or better.
If your opponents are investing a little, hitting often, and then you pay them off, then you have to revise your strategy. However, if your opponents are paying too much for a longshot, then it's ok to pay them off some of the time when they hit. You don't need to protect yourself against that bad strategy.
On the other hand, when you get several callers, you should be more cautious. You should not be making many continuation bets with air, and their calls/raises when you do bet show more strength. It's hard to get away from a strong overpair against one opponent in a raised pot with a stack depth of 50 bb, but there are many times you can fold one good pair in a multiway pot when 2 players show strength.