Yes, it is possible to be infected with both at the same time. This is because they are caused by different bacteria. The most up-to-date treatment guidelines recommend treating both infections in that case. This may mean getting more than one medication from a healthcare provider.