Introduction: Infectious diseases threaten the public health; hence understanding their propagation mechanisms may help to control them. Mathematical models are tools that can help the scientists to understand the pathogens’ propagations and can provide strategies for their control in future. Methods: Using mathematical theorems and MATLAB software, a continuous-time model known as susceptible-infected-susceptible (SIS) for transmission of infection in a population was described and the effects of a vaccination program based on this framework was investigated. Results: It was shown that the model had two equilibria: the infection-free equilibrium and the infected equilibrium. A specific threshold in terms of model parameters was obtained and then the existence of the equilibria and asymptotic stability of the system were stated with respect to this threshold. The theoretical results were also verified numerically by providing several simulations. Conclusion: The results indicated the stability of this model which emphasized that parameters such as restricting the immigration, reducing harmful contacts between the susceptible and the infected individuals, increasing awareness level of people, and most-importantly vaccination will reduce the basic reproduction number and help to control the disease. Moreover, a relation to calculate the minimum doses for vaccinating of the new-comers and the susceptible individuals, was obtained.