Oracle Solution for Error ora-06511

Solution for Oracle Error ORA-06511

ORA-06511: PL/SQL: cursor already open

What triggered the Error:

An attempt was made to open a cursor that was already open.

What should we do to fix it:

Close cursor first before reopening.