What can you do to prevent antibiotic resistance?

Only when Needed. One strategy is to not take antibiotics unecessarily. Viral infections do not respond to antibiotics, only bacterial ones. Using antibiotics when not needed increases the frequency of nature's defense response...Which is resistance.