The best way to fix this is probably to get it repaired by HTC under the warranty. The HTC One has not been out for more than a year, so the device is likely still under warranty.
If this is a phone with carrier branding in the US - AT&T, Verizon, Sprint, T-Mobile, Etc - then you can call your carrier customer service.
Or - for any HTC Device - you can always go directly to HTC via their website. they have live chat options, email support, and you can call someone. http
/www.htc.com/us/support/