Lag is either performance (local) or latency (online) — treat them differently.
Lower settings and close background apps.
Use a wired or strong Wi-Fi connection.
Choose the nearest server/region where available.
Disable VPNs.