Are caused by a congested interface. The ultimate solution to resolve the problem is to increase the line speed. You can prevent them only if those are consequence of short bursts of data (if line is capable of full-duplex making sure it is set to full and not to half for example).
If caused by a constant high-rate flow, you cannot prevent them.