If you tried the process above or the one below and it continues to stay on the logo then you need to have it repaired/replaced.
If your iPhone is stuck on the Apple logo - Apple Support
or watch this video
https://youtu.be/2CRilTPouRU?t=97
(There is no guarantee you can save any data since your last backup if you need to use the Restore option).
How to arrange a repair
First try a Forced restart Force restart iPhone – Apple Support (UK)
If no better you should arrange a repair iPhone Repair - Official Apple Support
Or
Contact - Official Apple Support
Anything other than Screen or Battery may be a replacement phone and the price is in the article under "Other damage"
See also: Get your iPhone, iPad, or iPod touch ready for service - Apple Support