slow problem

my nokia 7 plus restarting it self suddenly and become take ong time to open  when it open become so slow what is this problem please