Vaccination strategies remain one of the most effective and feasible preventive measures in combating infectious diseases, particularly during the COVID-19 pandemic. With the passage of time, continuous long-term lockdowns became impractical, and the effectiveness of contact-tracing procedures significantly declined as the number of cases increased. This paper presents a mathematical assessment of the dynamics and prevention of COVID-19, taking into account the constant and time-varying optimal COVID-19 vaccine with multiple doses. We attempt to develop a mathematical model by incorporating compartments with individuals receiving primary, secondary, and booster shots of the COVID-19 vaccine in a basic epidemic model. Initially, the model is rigorously studied in terms of qualitative analysis. The stability analysis and mathematical results are presented to demonstrate that the model is asymptotically stable both locally and globally at the COVID-19-free equilibrium state. We also investigate the impact of multiple vaccinations on the COVID-19 model’s results, revealing that the infection risk can be reduced by administrating the booster vaccine dose to those individuals who already received their first vaccine doses. The existence of backward bifurcation phenomena is studied. A sensitivity analysis is carried out to determine the most sensitive parameter on the disease incidence. Furthermore, we developed a control model by introducing time-varying controls to suggest the optimal strategy for disease minimization. These controls are isolation, multiple vaccine efficacy, and reduction in the probability that different vaccine doses do not develop antibodies against the original virus. The existence and numerical solution to the COVID-19 control problem are presented. A detailed simulation is illustrated demonstrating the population-level impact of the constant and time-varying optimal controls on disease eradication. Using the novel concept of human awareness and several vaccination doses, the elimination of COVID-19 infections could be significantly enhanced.