Lost control of my galaxy TAP.

Today I found out that I can access my galaxy tap but have no control.

It shows we are connected but even if I touched it, nothing worked.

but when touch and make the screen on of galaxy tap. now it works with my phone.

I do not know what is going on here. I have been used very well since early this year.

If any knows about this, kindly help me to figure this out.

Many thanks in advance.