To freeze motion in photography, you need three things. First, you need a good camera, triPod, and a subject to photograph. One thing to keep in mind is your shutter speed. For example, if the subject is moving towards you, you want the shutter speed between 1/100th to 1/250th. If you are capturing the subject going from side to side, you want it set at 1/250th or more. Keep in mind that the more you increase the shutter speed the less light you will have in your picture. Next, move the camera view as your subject moves. Don't wait for your subject to be in your camera view. Lastly, you need to decide if you want to use manual focus or autofocus. Autofocus tends to be more clear, however, it takes time for your camera to adjust. Manual focus can be used when you know where your subject is going to be (i.e. making a slam dunk) because it takes the picture much faster.