mouse lag is client side only means your device is struggling somehow just close somethings should fix it
for general lag check
lichess.org/lagand understand lichess cant make your ping better or more stable as they dont control the road it takes or the condition