# Repay

### **Overview**

Repaying a loan on the Pike is a simple process that allows you to manage your debt effectively. This guide provides step-by-step instructions for repaying borrowed assets.

### **Prerequisites**

Before repaying a loan, ensure that:

* You are connected to the protocol dashboard.
* You have an active borrow position on the protocol.
* Your wallet contains the necessary funds to cover the repayment amount and gas fee.

### **Step-by-Step Loan Repayment Guide**

1. **Access the ‘You Borrowed’ Section**
   * Navigate to the dashboard and locate the **‘You Borrowed’** section.
   * Review your outstanding loans and identify the asset you want to repay.
2. **Open the Repayment Modal**

   * Click on the **“-”** button on the row of the loan to repay.
   * A modal will appear displaying key loan details, including:
     * Remaining loan balance.
     * Projected health factor.

   <figure><img src="/files/8eA79BxxKsk7DbzYRawf" alt=""><figcaption></figcaption></figure>
3. **Enter the Repayment Amount**

* Choose how much you want to repay:

  * **Manual Input:** Enter a custom amount.
  * **Predefined Options:** Select from preset percentages (25%, 50%, 75%, 100%).&#x20;

  <figure><img src="/files/M3GL7vV9aU03CtMraVwK" alt=""><figcaption></figcaption></figure>

4. **Confirm the Repayment**

* Click the **Repay** button.
* Approve the transaction in your wallet.
* Wait for the blockchain confirmation.

<figure><img src="/files/cnotVwJtTY0pdgCdEspK" alt=""><figcaption></figcaption></figure>

5. **Verify Updated Loan Status**

* Return to the **Dashboard** to check your new loan position.
* Ensure that your remaining debt and health factor reflect the repayment.&#x20;

<figure><img src="/files/V6EBN8cPbcl2lIQtpZGS" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pike.finance/user-guide/repay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
