A foot fault occurs if a player steps into the baseline or beyond before striking the ball during a serve. Maintaining a proper stance and awareness of your position can prevent this error.