You need to intonate it. Just google "How to intonate (guitar model)" and you should be set. There's different ways to intonate different bridges, so it's probably better if you're model-specific or bridge specific. If it's an obscure model, try to find out what type of bridge you have and use that instead of the guitar model in your search.