Check to see if the extractor is chipped or broken. If it is it needs to be replaced. If not you need a new extractor spring. If you don’t know how to replace it take it to a Glock armor or smith.
Guns are not dangerous! People are! RKBA!