Wrist pain very sharp can't use hand or wrist when it happens last only minutes I have to pull hand away from wrist it clicks then I'm pain free?

Needs evaluation. There is a mechanical locking that gives way from what you are decribing, meaning the joint has some loose body inhibiting its full, free range of motion. Needs evaluation to identify the cause.