To dig up fossils in Animal Crossing on the Nintendo DS, first buy a shovel from Tom Nook for 500 bells.
Then look for a small X-shaped mark on the ground, which signals something buried. Stand next to it and press A (or tap yourself on the touchscreen) to dig it up.