Chosen Solution

i have replaced the charging flat on iphone 7 recently and the device load very slowly or it stock on the apple logo and somtimes the touch work by itself. is there anybody know what should i do?

The first thing you should do is to double check your work. Follow this guide to insure you haven’t made any mistakes or overlooked anything. I would also inspect the Lightning Port flex, preferably with magnification, to see if there is any damage. Finally, depending on where you ordered your replacement flex, you may have received a partially defective unit. You don’t really explain what condition and specific issue the original has but you could try to replace it to see if the sluggishness persists with the original as well.