# How to Close a CDP (Repay/Liquidate)

### Repaying a Position you Own

* Go to the **Positions** page
* Look through your positions on the "Mine" view, and find a position you want to close

<figure><img src="https://2611713366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsKoaKdI1o97UnvYVMfiL%2Fuploads%2FXOf5VItJD5jV1dEYKIqi%2Fimage.png?alt=media&#x26;token=be9ec19d-7947-4315-9e9f-ecb98294cebc" alt=""><figcaption></figcaption></figure>

* Expand the row/card to view more details
* Click the "Repay" button

<figure><img src="https://2611713366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsKoaKdI1o97UnvYVMfiL%2Fuploads%2FMtluq8FdRKUbpX4K8fSi%2Fimage.png?alt=media&#x26;token=43928e70-0cde-42af-8e39-41818b50000a" alt=""><figcaption></figcaption></figure>

### Liquidating Somebody Else's Position

1. Go to the **Positions** page
2. Look through positions on the "All" view, and find a position you want to liquidate
3. Expand the row/card to view more details
4. Click the "Liquidate" button

{% hint style="info" %}
A position must be unhealthy for it to be liquidated. See the section on **Collateral Weights** in[synthetic-parameters](https://docs.butane.dev/how-to-use-butane/butane-basics/synthetic-parameters "mention")
{% endhint %}
