Remove paint from the head tube
The proper way to do this is to use a facing tool. Park Tool makes the BTS-1 for BB's and has directions to use it here. Theres also the Park Tool HTR-1 for head tubes with directions here. 

[You may need different tools, but the idea is generally the same. Note that some manufacturers of headsets or what not may void your warranty if you don't do this properly.]