1. I lost the ring that he gave me.

2. I lost the ring that he had given
me.

(Which one is correct? Are both OK?)

Both are OK.

But 1. is more common.