Religion?

I️m very lost in my head right now. I️m 17 I talk to god in my head and all these things but i don’t go to church. I don’t know if I believe in him or not and it scares me. I would love to I feel like I do but I️m not sure. I feel like I️m saying I do Beacuse I hope I do I️m not really sure. I️m very scared of death not knowing if I believe in god or not. Has anyone else had this problem. If so how did you find out you truly believe or didn’t.