You paid it with Check or Expense instead of Pay bills
How you'll know: The bill is still open in Accounts Payable, and the same cost appears twice on your Profit and Loss: once from the bill, once from the check.
Fix: Open the check or expense. With that vendor selected, QuickBooks lists their open bills in a panel on the right. Click Add on the bill and save. The check becomes a payment against the bill and the duplicate goes away.
The bank feed booked the payment as a new expense
How you'll know: You paid the vendor from online banking, and in Banking the transaction was added as an expense rather than matched.
Fix: Undo that transaction in Banking, open it again, and choose Find match (or Find other records). Pick the open bill. QuickBooks records the bill payment and clears the bill.
You paid part of it
How you'll know: The bill shows a smaller balance rather than zero.
Fix: That's expected. Pay the rest from Pay bills when it's due, or record a vendor credit if the vendor forgave the difference.