Can People Who Aren't Saved, Heal in Jesus’ Name? For backstory, I've recently been looking for confirmation that I'm really saved. I've started to repent of all my sins (that I know of) about 1-2 weeks ago. I've pretty sure I've been saved since I was 8 years old, but I dedicated myself to God again, just to make sure.
So I've recently been listening to an audio teaching about prayer, and the last little bit of the teaching is about healing yourself and others in the name of Jesus. I was having a bit of a headache, so I decided to try it out on myself when I got home instead of just using painkillers.
I got home, and spoke to my body. I put my hand on my temple and said, &quot;temple, you will stop hurting in the name of Jesus&quot; or something along those lines. And it worked! That was the first time I've ever healed myself in Jesus name.
Does the fact that God was able to heal me through myself mean that I'm saved for sure? Or could someone who isn't saved do exactly what I did? This is assuming they have faith that God will heal them as well.
Your ‘backstory’ explains several things that will help in offering an answer. Immediately, there appears to be a need for you to learn from Jesus’ own words on this subject, and then to subject everything everyone else tells you to that.  There are two particular statements of Jesus that could form a good basis for you to compare all else with.
First, his response to the disciples being upset at some doing miracles, though they were not identified with their group.  This is in Mark 9:38-41:

‘Teacher,’ said John, ‘we saw a man driving out demons in your name
and we told him to stop, because he was not one of us.’ ‘Do not stop
him,’ Jesus said. ‘No-one who does a miracle in my name can in the
next moment say anything bad about me…’

Second, his warning to professed Christians on the day of judgement, as to the importance they attached to how they did miracles in his name. This is in Matthew 7:21-23:

‘Not everyone who says to me, “Lord, Lord” will enter the kingdom of
heaven, but only he who does the will of my Father who is in heaven.
Many will say to me on that day, “Lord, Lord, did we not prophesy in
your name, and in your name drive out demons and perform many
miracles?” Then I will tell them plainly, ‘I never knew you. Away from
me, you evildoers.’

Once you have studied those two passages of scripture and become clear as to what Jesus says about casting out demons in his name back then, and what he says about the day of judgment when false prophets and false miracle-workers are exposed and condemned despite them doing things in Jesus’ name, you might be helped to have a biblical basis for asking questions. Perhaps you might see a need to ask a fresh question on the matter concerning you right now.