Stir together mayonnaise, pickles, ketchup, garlic powder, and pepper in a bowl until well combined.