A friend asked me if you could accept Jesus just before you die and still go to heaven. I say yes but you may not know your exact time when you die. Those people that died in the airplane crash. The jet took a nose dive down to the ground at 500 miles per hour. Did they know they were going to die? At my emergency room visit last year when I was being wheeled into the exam room to get a cat scan I thought I may die. I knew I would go to heaven but I was worried about my family and friends. I felt I hadn’t done enough and I did recover. My advice to you accept Jesus as your savior and get the gifts of the Holy Spirit now. Tell someone what you did.