Antibiotics treat bacterial infections
but would not effect a viral infections
. You should not be contagious after 24 hrs of using an antibiotic
for a bacterial infection . Your body builds up natural protection to viruses and it may take longer than 24 hrs for you to not be contagious after a viral infection.