You first have to know that she feels safe talking about her inner thoughts with you. Being comfortable around each other is one of the most important things you need to be able to share your deep emotions. Also, you should be in the right headspace to talk about serious stuff. You can't be joking around and suddenly ask if she believes in Buddha or God.