When you get a spinal tap, your doctor puts a needle in between two vertebrae (bones in your back) to take a sample of the fluid that surrounds your brain and spinal cord. If tests show that that fluid has more disease-fighting white blood cells or certain proteins than it should, you might have an infection.