Oracle Solution for Error ora-38805

Solution for Oracle Error ORA-38805

ORA-38805: edition is in use

What triggered the Error:

An attempt was made to ALTER or DROP an edition that was being used in another session or was the database default edition.

What should we do to fix it:

Retry when the edition is not in use and is not the database default edition.