Factory glock front sights are just pressed in. It's just plastic. Grab the sight with a pair of pliers and twist. It'll come right out.
Use threadlock when you put the new sight on.
The rear sights are usually the hard part,if you got those you'll be just fine.
No Longer affiliated with Old Mill Gun Shop