Check your purchase receipt or the manufacturer's website to see if your phone is under warranty. Brands like Apple and Samsung outline their warranty details online. They do so through customer support or their apps.