Instructions
Turn off your PS3 controller and then turn it on to see if this resolves the lagging problem.
Make sure your controller is charged. If it isn't, connect it to your PS3 console using your USB cable. Leave it for a while until it's fully charged.
Reset your controller if it's still running into problems. To do so, press and hold the "Reset" button on the back of your controller for a few seconds, and then release it.
Connect the controller back to the gaming console to pair it with your device. Once connected, the controller automatically pairs.
Press the "PS" button and wait a few seconds for the gaming console to assign a number to your controller.