Placing a noise gate before distortion can help reduce unwanted noise and hum, but it can also affect the overall tone of your guitar. Placing the noise gate after distortion can help preserve the tone while still reducing noise and hum.