Help Samsung Galaxy Tab Randomly being Controlled

Hoity Toity

My galaxy tab 2 7.0 was on my home screen for like 5 minutes while I was in the washroom then randomly my tablet just started going to the Internet browser and went to the French google+ like, it didn't even type it out it just accessed the web browser and went to that link.
Please Help. I have no idea what happened.