Thanks for your help, but i didn't got my answer. Do we always use simple past for repeated actions in the past? By the way your website is so helpful.
"I swam every day when I was at the beach." Simple past
"I used to swim every day when I lived close to the beach." used to + infinitive
"I was swimming every day when I was at the beach." Past progressive
"I had been swimming every day at that time." Past perfect progressive
Probably others. It depends on the context. "Used to swim" is probably the most common.