PurposeThe purpose of this study to investigate the effects and possible future prediction of COVID-19. The dataset considered in this study to investigate the effects and possible future prediction of COVID-19 is constrained as follows: age, gender, systolic blood pressure, HDL-cholesterol, diabetes and its medication, does the patient suffered from heart disease or took anti-cough agent food or sensitive to cough related issues and any other chronic kidney disease, physical contact with foreign returns and social distance for the prediction of the risk of COVID-19.Design/methodology/approachThis work implemented a meta-heuristic algorithm on the aforementioned dataset for possible analysis of the risk of being infected with COVID-19. The authors proposed a simple yet effective Risk Prediction through Nature Inspired Hybrid Particle Swarm Optimization and Sine Cosine Algorithm (HPSOSCA), particle swarm optimization (PSO), and sine cosine algorithm (SCA) algorithms.FindingsThe simulated results on different cases discussed in the dataset section reveal which category of individuals may happen to have the disease and of what level. The experimental results reveal that the proposed model can predict the percentage of risk with an overall accuracy of 88.63%, sensitivity (87.23%), specificity (89.02%), precision (69.49%), recall (87.23%), f_measure (77.36%) and Gmean (88.12%) with 41 and 146 true positive and negative, 18 and 6 false positive and negative cases, respectively. The proposed model provides a quite stable prediction of risk for COVID-19 on different categories of individuals.Originality/valueThe work for the very first time developed a novel HPSOSCA model based on PSO and SCA for the prediction of COVID-19 disease. The convergence rate of the proposed model is too high as compared to the literature. It also produces a better accuracy in a computationally efficient fashion. The obtained outputs are as follows: accuracy (88.63%), sensitivity (87.23%), specificity (89.02%), precision (69.49%), recall (87.23%), f_measure (77.36%), Gmean (88.12%), Tp (41), Tn (146), Fb (18) and Fn (06). The recommendations to reduce disease outbreaks are as follow: to control this epidemic in various regions, it is important to appropriately manage patients suspected of having the disease, immediately identify and isolate the source of infection, cut off the transmission route and prevent viral transmission from these potential patients or virus carriers.