Chosen Solution

I have droped my iphone 6 and didn’t work he just keep restarting on apple logo over and over i opened it i found the battery blugged off i reconnect the battery right and still restarting and some one told me ram need to change is that right ?

If another battery does not solve the apple boot loop for you then you may need to restore as others said, but try update first before restore because restore wipes all data on the phone. Use this method to put your phone into recovery mode, make sure to try update first before restore: https://support.apple.com/en-au/ht204306

why did the battery came loose? There is a protection bracet normaly for that. I suggest Trying another battery if that wont work try to get your phone in dfu mode and try restore.