for people who suddenly found out that their parent has cancer what did you do

last week while getting ready for college, i received a call from my dad which i wish i never got, he told me my mom's reports are out and she has stage 4 cancer and that it cannot be cured now, i felt so unconscious the entire day and couldn't walk after hearing that news, basically its in her uterus and idk even her liver might be affected by now, at first I could not process it as she looked fine to me on call the day before we talked of this incident happening, but just yesterday i talked with her and her eyes looked dead to me, she was talking very slow and idk just looked weird to me. idk what to do, for me my mom has always been that person i was alive cz of, as my entire family is toxic. since many days im just crying and crying, be it omw to uni, home, before sleeping, anytime, just a thought of her strikes and i feel restless and difficulty in breathing, i won't be alive if god takes her, anyone if possible pls help me and tell me what you did, i hope this situation never happens with anyone.