Oracle Solution for Error ora-01940

Solution for Oracle Error ORA-01940

ORA-01940: cannot drop a user that is currently connected

What triggered the Error:

Attempt was made to drop a user that is currently logged in.

What should we do to fix it:

Make sure user is logged off, then repeat command.