If a Shot Lands in a Sand Trap:
No Penalty: You may pick up the ball and rake the area where the ball landed, then place the ball onto the raked spot. You may also chose to play the ball as it lies.
Two Stroke Penalty: You may also move the ball out of the trap in a straight line drawn from the flagstick and the point where your ball came to rest as far as you want.