The easy way is to raise the pickup close to the strings and then lowering it untill the overtones on the higher frets are gone. Every pickup has it's own sweet spot, it pays to experiment. I sometimes keep changing the pickup height for weeks untill I find that sweet spot. Continously testing, balancing, is this right clean?, is this right dirty?, does this work with the band? etc.