After purchasing an iPhone, you can buy Apple Care within 60 days.

However, it is not possible to get the warranty after the damage has occurred.

In that case, the device is no longer eligible for Apple Care.

Did you know? Even when you have the warranty, the repairs are not free of charge. However, they are heavily discounted.