Hi. "Has had" is in the present perfect tense. It refers to something that started in the past and takes place up until the present time. For example, the boy has had some English classses over the past two years. He still has some.
"Had had" is in the past perfect tense, and it refers to something in the past that took place before something else that happened in the past. You can think