It is usually depends on 3 things –
The device’s connectivity,
The internet speed and
The server you use
But you can fix it, try the 5 fixes -
Close Other Network Hogging Applications
Check Your Internet Connection
Try Switching to a Better Server
Change Your Game Settings
Try Using a Premium VPN