Try riding your dirt bike without wheels. Right. That's why it's so important to perform routine maintenance on your dirt bike wheels to keep them true. Without it, there's just no way you can really keep control of your bike at all time.
Spokes provide the structural integrity for your dirt bike wheels. By adjusting the spokes you can help your wheels spin true again. If your dirt bike wheel tends to wobble from side to side, you can correct it by loosening the spokes on the side where the rim looks more away from the center, and then tighten the spokes that look like they are pushing to much toward the center of the wheel. This way you can even out the centerline and your dirt bike wheels will be true again.
Do any of your dirt bike wheels have a flat spot? You can adjust your spokes to remove that awkward up and down movement too. You can loosen the spokes right at the flat spot and tighten the spokes just on either side of it. Use your judgement as to just how many spokes ought to be adjusted according to how large the flat spot is. However, if your rim is dented, no adjusting of the spokes is going to help.
Remember those old Fischer-Price jalopies from your childhood, the ones with the clown and the crazy wheels? Well, dirt bike wheels that need trueing will give you that same wobbly feeling. A little routine maintenance will give your wheels longer wear, and keep you in control of your dirt bike when your riding on the track.