Hey, im having trouble coding the flasher. I need to turn the flasher on and off. Struggling with it. Please help!

NEED TO USED AN IF STATEMENT:


Code:
private static void flasherOn(){
      Flasher f3;
      if( flasherOff(f3));
      turnOn();
      }
How do i fix this?!