Oracle Solution for Error ora-02080

Solution for Oracle Error ORA-02080

ORA-02080: database link is in use

What triggered the Error:

a transaction is active or a cursor is open on the database link given in the alter session close database link command.

What should we do to fix it:

commit or rollback, and close all cursors