Touchscreen not working

I just bought my tablet and I don’t know why sometimes touch screen not working and become unresponsive. please tell me ? I did not expect that I would have to face these things in new tablet.