I am not quite sure what you are asking. If you specify HF/basis and your system has an odd number of electrons, Gaussian will automatically use the UHF algorithm. If you want to use ROHF, you will have to invoke it specifically in the route statement. See the "Examples" tab at https://gaussian.com/hf/