While slippage cannot be completely avoided, especially in volatile market conditions, you can minimize your risk by avoiding trading during major economic announcements, when volatility is typically high, and by using stop-limit orders, which specify the maximum price at which you are willing to buy or sell.
Articals in this section
How can I reduce the risk of slippage?