Oracle Solution for Error ora-01138

Solution for Oracle Error ORA-01138

ORA-01138: database must either be open in this instance or not at all

What triggered the Error:

The requested operation can not be done when the database is mounted but not open in this instance, and another instance has the database open.

What should we do to fix it:

Execute the operation in an open instance, open the datbase in this instance, or close the database in the other instances.