This sounds rather dangerous, although you don't mean it to be.
My advice is to stay well away from this area unless you are suitably gifted and called.
Some years back, there was a priest from Britain not properly equipped that lost both eyes when a 'session' went wrong.
That said in my experience there are no formula's but what is essential is a keen ear on what He is saying.
I remember being present when a girl was desperate to suicide, so we rang a friend who had a proven ministry in this area.
We restrained and disarmed her and she was in a tight ball on the couch when she started talking as if in contact with the person coming to help.
When he arrived, it was beautiful to watch, he was very calm and quiet, gently put his hand on her clenched fist and said 'thank you Jesus for this hand' and the hand relaxed. Same with the other hand. Then arms and feet and so on... Through this process she was fully restored. You wont learn that in church. He was simply seeing what the Father was already doing.
In my view you cant 'learn' to deliver because every situation is different.
I don't want to put folks off but at the same time much of what is presented as deliverance is little more than 'shadow boxing'.
Often those seeking deliverance simply need to repent of stuff.