<p>“Have” means that you are still doing so. “Had” indicates that you have stopped.</p>
<p>E.G. “I have studied math for the past four years.” It means that not only have you studied math for the past four years, but you are continuing to do so in the present.</p>
<p>“I had studied math for the past four years” means you are no longer.</p>