Stay between your player and the basket, see the ball, and make everything hard. That is the job, whether you are guarding the ball or two passes away.
On the ball, contest every shot, stop easy drives to the basket, and make the player work for every catch and every dribble. You are not trying to steal the ball every time. You are trying to make everything hard. Stay down in a low stance and slide. Do not jump at shot fakes.
Off the ball, you still have a job. Many beginners think defense only means guarding the player with the ball. That is the wrong picture. In good team defense, all five have a role at all times. The farther your player is from the ball, the more you sag toward the middle so you can help, then recover when the ball moves.
When a shot goes up, find your player, put a body on him and go get the ball. A defensive stop is not finished until you have the rebound.
The common mistake is reaching. A reach usually means you are already beaten, and it is the fastest way to foul. Move your feet instead. Young players should learn stance, slide, early help and the box out. High school and college players add denial one pass away, closeouts, rotations and screen coverages on top of those same habits.
More Defense questions
Free playbook
Get the free flex offense playbook
Every flex cut, starting set, counter, special and drill, with all 30 diagrams, in one printable PDF.