The process begins with the collection of a sample from the infected site, such as blood, urine, or a swab from the throat or wound. The sample is then cultured to allow the bacteria to grow. Once the bacteria are isolated, various antibiotics are tested against the bacteria to see which ones inhibit growth effectively.