How to remove a User safely from database as a part of GDPR request?

How to remove a User safely from the database as a part of GDPR request? The scenario is given – When user decided to leave your system along and requested that delete record from your database. How do you deal with it?