Because slippage occurs during periods of volatility in the markets or when there is insufficient liquidity it isn't possible to avoid slippage 100% of the time. The only way you could do that is to avoid trading altogether, and that's not a good solution! Instead you can minimize occurrences of slippage by avoiding times that are known to create volatility, such as during news and economic reports.