Theme Customization and Updates

Hello,
where/how can I change theme customs like logo 404 error header/footer, css, etc. and how can I avoid the destroy this changes at next theme update/upgrade?