This is the 7562nd most frequent Russian word.
досталось
"Досталось" means "received" or "got," often implying something was obtained, endured, or assigned, sometimes with difficulty or as a share.
Here, 'досталось' means 'inherited' or 'received' as a result of inheritance.
По наследству мне досталось большое поместье.
I inherited a large estate.
In this context, 'досталось' implies someone receiving harm or negativity.
На улице началась драка и ему тоже досталось.
A fight broke out on the street and he got hit too.
Here, 'досталось' signifies 'got' or 'received' a specific task or situation.