How to keeps adds away on my Samsung s5?

I have a samsung s5 and I keep getting adds on it. No matter what in doing they pop up. They are games adds. I will be reading a book, texting someone playing minecraft or even at the home page and my phone will turn grey and an add pops up. I don't know how to get rid of it. I even downloaded an app to get rid of the adds but it dosnt work. I asked my mom (who works for samsung) and she didn't even know how to help or even know why it was happening. I got adds a while ago and then they just stopped for a long time and now it came back. Please help I really hate this problem and appreciate your help. Please answer back imediatley.

Are these adds in the apps? Cuz if you get free apps, you gotta put up with then ads. If you wanna get rid of them, follow the in-app links to upgrade, but that's gonna cost you.

Throw it into a river.

The adds have came up in minecraft pe while I'm plaYing the game but the adds also come up when I'm texting someone, reading a book or at my normal home screen.