They are both correct.
The first refers to an inanimate object;
the second refers to a person or animal.
When something is or was lost, it becomes or became no longer in someone’s possession.
When someone gets or got lost, he or she becomes or became devoid of his or her bearings or became...