Hi
Sync and recording lag is a common problem that most of us will have come across at some point ... unfortunately the solution isn't always easy as it can depend on both your hardware and software spec.
Most DAW software will come with very useful if a little drawn out help sections on the subject and although it is a real pain my best advice would be to read through and check each step they suggest ... at the very least you will get to know what the settings do ... One bit of advice I can give is NEVER change too many settings in one hit and ALWAYS make a note of what you have changed ... in-case you need to change it back
You will probably find that it is to do with the ASIO driver you are using but other factors can cause the problem... Also make sure that your computer and sound card are up to the task ..but I have to say most are these days.