If it's your EDC, then do as suggested, get night sights and a new recoil spring.
If it's just a range toy, then shoot it until it breaks, which, being a Glock, may take a while!
It may have not seen many rounds, and even if it has, no worries! Have fun!