In this paper, we establish an Ebola epidemic model incorporating limited medical resources and immunity loss, and also consider the tracking and quarantining of susceptible individuals. Meanwhile the stability of the disease-free equilibrium is proved. Furthermore, we deduce the existence of multiple endemic equilibria and the occurrence of bifurcation. And then, using the partial ranking correlation coefficient (PRCC), it is found that the control reproduction number is most correlated with the parameter. (incineration or burial rate of dead bodies). Additionally, based on the data of the Ebola epidemic in Uganda in 2022, the fitted curve of accumulated infectious cases stabilizes at 143, which is eventually consistent with the actual data. Finally, numerical simulation results indicate that the peak value of infectious individuals decreases by 52.3% when the maximum treatment recovery rate changes from 20% to 40%. And while the hospital bed-population ratio increases by 10%, the peak value of the infectious decreases by 29.1%. Simultaneously, when the rate of immune loss decreasing from 60% to 20%, the peak value of the infectious decreases by 13.2%. While enhancing the tracking and quarantining of susceptible individuals have significant impact on the prevention and control of Ebola.