Oracle Solution for Error ora-01124

Solution for Oracle Error ORA-01124

ORA-01124: cannot recover data file string - file is in use or recovery

What triggered the Error:

An attempt to do media recovery found that the file was not available for recovery. Either it is online and the database is open in some instance, or another process is curently doing media recovery on the file.

What should we do to fix it:

Do not do media recovery.