Firefox has encountered a problem and closing itself.

Hi, I am an user of Firefox. Recently I am having a problem with it. Firefox says, it has encountered a problem and closing itself. The message says, Firefox.exe has encountered a problem and needs to close. We are sorry for this inconvenience. I am using Firefox 35.0 beta version with Windows 7. Can anyone help me out?
