If it is a small earthquake how long will it last?

It depends. Some may last long and some may last short time.