On simple way is to create a trigger to do the check. Consider the following
CREATE OR REPLACE TRIGGER trgEmpRegular_dtls
BEFORE INSERT OR UPDATE ON EmpRegular_dtls
FOR EACH ROW
BEGIN
IF( ADD_MONTHS(:new.DOB, 18 * 12) < sysdate ) THEN
RAISE_APPLICATION_ERROR( -20001, 'Person must be at least 18 years old.' );
END IF;
END;
If the age is less than 18 years an exception is thrown and you can grab the message on the calling side and show it to the user.
More information about custom errors:
Handling PL/SQL Errors[
^]