The COVID-19 vaccines lower your risk of becoming infected and of spreading the virus. The antiviral pills and remdesivir are not substitutes for vaccination because they do not prevent COVID-19, They are treatments.
Public health mitigation measures like vaccines, improving ventilation, testing, following recommendations when exposed, staying home with a suspected/confirmed case, masking and distancing (when directed by CDC based on risk of hospitalization) are still the best ways to prevent you from getting admitted to the hospital for COVID-19. If you are infected, these new medications are a potential lifesaving therapy.