Mozilla Firefox browser stops responding

Every time I use Mozilla Firefox as my browser I can never get rid of the problem wherein it stops responding until I am forced to close the browser and open again.
However, instead of switching to other browsers, I still prefer Mozilla because I notice that it works faster than others, yet it is irritating when suddenly it stops responding.
How can I resolve this issue?
