I need family advice

Just yesterday my grandma had a heart attack. She’s 77. I live with my S/O and my mom and grandma stay together. My mom is not fully mentally there due to depression. My grandma basically takes care of my mom. Now that my grandma has had this heart attack, I’m curious to know what I should do living wise. Should I go and take care of her? I’m so lost.