Help with latency

So i am getting crazy high latency as soon as i enter combat in the 4k + range and it doesn’t go away after how can i fix this?