You need to report the loss to the nearest police station and then to the immigration office that issued the card immediately. They will issue a certificate of loss but unfortunately that paper does not allow you to cross borders. There is a helpful section on https://immigro-legal.pl/service/karta-pobytu-trc/ regarding the replacement procedure and the costs involved for a new plastic card. Y