Defence is where a beginner contributes fastest, because it depends on effort, positioning and discipline rather than on skill you do not yet have. A new player who defends properly and rebounds will get picked in pick-up games long before their shooting is any good.
The defensive stance
Everything starts here and almost everybody stands too upright.
Feet wider than shoulder width, knees bent, weight on the balls of the feet, back straight, hands active. Low enough that you can move immediately in any direction without having to drop first.
It is uncomfortable and it is tiring, which is exactly why beginners abandon it. Standing upright means you have to lower yourself before you can move, and that half second is all an attacker needs.
Sliding is how you move laterally. Push off the trailing foot, step with the leading foot, and never let your feet cross. Crossing your feet is how you end up tangled and beaten.
Keep your hands up and moving. Hands in passing lanes disrupt more than hands reaching for the ball, and reaching is how fouls happen.
Watch the midsection, not the ball. A player can fake with the ball, their head and their eyes, but their hips have to go where they are actually going.
On-ball defence
Guarding the player with the ball is about position rather than reaction.
Stay between your opponent and the basket. That is the whole principle, and most beginner mistakes are a failure of it rather than a failure of athleticism.
The usual distance is an arm's length, close enough to contest a shot and far enough to react to a drive. Adjust it: play tighter on a good shooter, give more space to a quick driver who cannot shoot.
Do not reach in. Reaching for the ball is the most common beginner foul and it rarely works. It also takes your hand and arm out of position, which makes getting beaten more likely.
Do not leave your feet on a shot fake. Once you jump you are committed, and the attacker can drive past or draw a foul. Contest with your hand up and your feet on the floor.
Forcing an attacker in a direction is a legitimate tactic: overplay their strong hand and make them go weak side. Most amateur players are far less dangerous going left.
Help defence and rebounding
Basketball defence is a team activity, which beginners rarely appreciate.
Help defence means being ready to cover for a teammate who gets beaten. When the ball is on the other side of the court, you should be sagging towards the middle rather than glued to your own man, ready to step across and stop a drive.
The principle is to see both the ball and your opponent, which usually means standing off to one side rather than facing your man directly.
Closing out is what happens when the ball is passed to the player you are helping off. Sprint most of the way, then break down into short choppy steps with a hand up, so you can contest the shot without flying past.
Running at full speed into a closeout is how defenders get beaten by a simple shot fake.
Rebounding is the end of every defensive possession and the most available skill to a beginner. When a shot goes up, find your opponent, turn, and box out: put your body between them and the basket, feel where they are, then go for the ball.
A player who boxes out consistently will out-rebound taller opponents who do not. It is effort and technique, not height.
Fouls and the charge
Knowing what is legal keeps you from giving away free throws.
The commonest beginner fouls are reaching in and hitting the arm, bodying up with hands on an opponent, and jumping into a shooter rather than contesting straight up.
Contesting a shot is legal as long as you go straight up rather than into the shooter. Hands up, vertical, no forward lean.
The charge and block distinction is worth understanding. A defender who has established legal position, both feet set and facing the attacker, before contact draws a charging foul on the attacker. A defender still moving into place when contact happens commits a blocking foul.
Taking a charge is a legitimate defensive play, though it is also how people get hurt, and it is not something a beginner should be seeking out.
Remember that fouls accumulate. Under FIBA rules, which govern British basketball, a player is disqualified after five personal fouls, and team fouls in a quarter eventually send the opposition to the free throw line for everything.
The last thing worth saying is that defence is largely a decision. Staying low, moving your feet and boxing out are things anybody can choose to do from their first session, and they are noticed immediately.