POP ups question

Ihave the current version of Avast and it has always kept my computer free of unwanted popups. Now I am getting different kings of screens in front and behind my pages. Usually when I first start Firefox.Sometimes it a is a small video that has no cancel X. I can only close FF and start again. Any help on this? I have Windows 8.1 up to date