Have a question about focus compensation: do I compensate towards or away from the lens? Do I want to focus to infinity, or closer inwards?

And would anyone know how to calculate the same compensation for UV? I bought an old 135mm EL-Nikkor and B+W 403 filter six months ago and finally am ready to give it a try.