Follow the SQLPLUS command with @ and the filename. SQL*Plus starts, prompts for your password and runs the file.
docs.oracle.com