A mutation can occur, causing the formation of an antibiotic resistant gene within a bacteria. This bacteria will then survive the course of antibiotics and reproduce, passing on the gene by vertical gene transmission. The antibiotic resistant gene is then passed to other bacteria through horizontal gene transmission.