Chosen Solution

My HTC desire 626 rear camera glass broke it should be repaired by service center or not please relay

It is completely your decision. If you can find a service centre, it is usually your best bet, but usually rear camera glass replacements are fairly easy to carry out on most models.

I also had that phone and had to take it apart to change the battery so I realized the camera glass is actually part of the middle housing, which you can get for less than 6 bucks. All you have to do is remove the back and take the middle housing off by unscrewing the screws that hold it in place, replace with a new one then screw the screws back and snap the back back on. There are 2 diff types of screws btw, one takes a tiny Phillips head and the other is like a *shape. https://www.parts4repair.com/middle-hous