Hola Hi
We have different lessons on when to use the imperfect tense in Spanish and also contrast lessons with other past tenses.
Using the imperfect tense in Spanish to "describe" a situation in the past
Using the imperfect vs the preterite in Spanish (general use)
Using the imperfect vs the preterite in Spanish (time markers)
There are more lessons on specific verbs in the imperfect tense.
Let us know if you need more help or if you would like to ask anything specific.
Saludos
Inma