What am i supposed to do?

For about one month i have been getting a screen popping up ‘you have won ipad-to claim…’ figured it was a scam so never clicked on it. Sometimes had to turn android off/on to get rid of it. I have always had avast. Tonight, as soon as it popped up another screen pops up- (pinkish-red in color), ‘avast has detected malware’. But it did not give instructions what to do. Why was this the first time the avast warning showed up? I did a scan and nothing showed up. It did not show in history. I took a screenshot of another warning-I think it is a warning…

Sometimes had to turn [b]android[/b] off/on to get rid of it
post in section for[b] Avast Mobile Products[/b]

Factory reset your android device may fix it