recordet track to late in Audacity

hello together, I use Audacity 2.3.3 on a PC with windows 10. For record music I use Focusrite Scarlett Studio 3rd Gen.
My problem is, that the soundtrack (like giarre or voice), on Audacity will be record some milliseconds later than the tracks I had recordet. What can I do, that the record is exactly on point?
thanks in advance M!

[u]Latency measurement and compensation[/u]