What's the best way to study the different tenses in Spanish?

Hello!

I learned Spanish for eight years in school, but I really got out of practice. Now I want to improve my Spanish skills again. I can understand and read without a lot of problems, but I really struggle with the different verb tenses (imperfecto, indefenido, perfecto, condicional, indicativo, etc.). What is the best way to learn and memorize them?