The pop filter should be close to but not touch the microphone since you want to avoid plosive sounds.
When setting up the pop filter, you first adjust the clamp to an open position and find a place on your mic stand to secure the pop filter. The pop filter should be close to but not touch the microphone since you want to avoid plosive sounds.