You have to bet more pre with your high pairs to prevent the low straights from getting a good price to call and draw out.
And then, with your lower pairs that are still overcards to a flop you have to treat them like having top pair top kicker.
So, for example, having 88 on a 345 board is kind of like having K5 in that situation. Sure bet for value and bet like you are ahead, but if you are raised a lot of things beat you, not just straights, and it is more likely the more players in the pot.
In essence the way to get away from a straight is to not put your opponent on a straight specifically. It is to say, I have one pair here, and two pair, a set, a straight beat me. The only thing I really beat that raises is a draw or a bluff or a crazy player... which is also possible but depends on the table dynamics and type of game.
There are no absolutes in Poker though. You will be beaten by straights. The trick is to just prevent the situation pre, and if that isn't possible, make better decisions to lose the minimum when you are beat post. So, for example, let's say you lose a buy-in every time you have overcards and someone has a straight. If you lose half a buy-in or even 3/4 next time it is progress. Through experience you learn when to get away more, especially with position and betting patterns.
__________________
|