Let's say that I have just experieced a sharp pain and want to say that this is the worst pain by now. Do I say
I have never experienced such a pain before
I had never experienced such a pain before?
I think that should use the present perfect because the pain have just happened. But my native English speking friend says that either can actually be used. I am curious to know what other native English speakers have to say about that. He also said that if it were yesterday it definetly has to be the past perfect. For example:
I had a terrible pain yesterday. I had never experieced anything like that before.
Could the present perfect be used in this sentence?