To delete your account on web, go to your profile, click "Edit Profile," then click "Delete Account" at the bottom of the page, and then follow the written steps.
To delete your account in the app, go to your profile, click the three dots in the upper right corner, click "Delete Account," and then follow the written steps.