iPod freezes turns weird colours and then restarts
So ive had my 16gb iPod touch 5th generation for 2 years now and nothing has been wrong with it but just recently its been acting weird.
First the iPod freezes for 5 seconds, then turns weird colours such as red/green/blue/black/red etc. Sometimes verticle white lines appear too. Then shuts down the iPod and restarts it. Also this is messing up my time and date so after the iPod boots up again it will stay the same time as it was when it was about to shut down. The wifi connects for 30 seconds then loses connection for like 30 seconds and that keeps happening. The wifi works perfectly with my phone and laptop. Overall my iPod is useless at the moment and i cant go 5 minutes without this happening. Please can someone give me a solution to fix this. Thanks
iPod touch, iOS 9