can't stop incomming adverts and app

Solution
Do a factory reset on it, option will be in Settings, usually under security. It will wipe everything non-stock off the phone so make sure your files/pictures/etc.. are backed up first and to be safe, remove any SD cards.