Right, survival analysis is a bit outside the scope of our course.
However, if you want to get a start on learning how to do survival analysis and Kaplan-Meier plots, use the Stata help menu and look up "st" and "sts graph". Bottom line - first you need to "stset" your data (tell Stata that you have survival time data), and then you can use the "st" and "sts" commands such as sts graph. Good luck!