The following information may vary depending on the region you purchased your iPhone in.
Your iPhone generally comes with a one-year limited warranty (About the warranty coverage for your Apple device - Apple Support) covering defects for Apple-branded hardware and accessories. This means Apple will fix or replace products that have manufacturing issues, but it does not cover any accidental damage like drops, water damage, or normal wear and tear.
To be eligible for coverage, you must have a defect that arises during the one-year period and can provide proof of purchase. Generally speaking, you are void of any warranty claims if your iPhone shows physical damage, like cracks, bends, etc.
As the iPhone 14 Pro was released in 2022, I would think that your phone is no longer covered by Apple's warranty. AppleCare+ coverage may still apply.
You may check coverage using Apple's Website (checkcoverage.apple.com)
I hope I could be of help!