What to do when you get rear ended?

The same as any other accident. If you have damages you submit a claim. If you have no damages then there is nothing to claim.