The European countries have systems in place to deal with such cases. It is, though, up to each European country to decide whether and/or when it allows European citizens to enter or exit their territory without a valid travel document.
See the current rules and information (where available) and/or visit the websites of the authorities of the country you are travelling both from and to: