Your doctor often can diagnose you through a medical history and physical exam. The doctor may order blood or urine tests or a spinal culture to help pinpoint a viral or bacterial infection. According to physicians interviewed by health.com, most doctors consider four things when faced with a virus vs.