We need a little bit of background to properly figure out a solution. Try pulling the trigger while moving the safety. Also try moving the safety while pushing hammer up and down. If its stuck any of those should help. Other than that you can take the safety detent spring out and that will loose the whole safety.
Anyways give that a try, if it doesnt work come back and explain a little more.