I know that in Proof of Work (PoW) once a node has found the solution (the nonce) they announce it to the network. Then the rest of the nodes can easily verify the correctness of the block hash and append it to the chain.
But in case the solution is not correctly verified, the block is finally not appended to the longest chain and therefore the dishonest block is discarded.
I know that in case of PoS, the dishonest node would lose the stake, but,
How does this procedure works in the case of Proof of Stake (PoS)?
I mean how is the validity of a block checked and how the bad node lose the stake?