what am i doing wrong here some help please

[code
MYIR.enableIRIn();
MYIR.decode(&results);
A=results.value;
 Serial.print(A);
MYIR.resume(); 
   delay(125);
]

All of this to the setup()?? or just part of it I'm so lost now. What is the actual wait part.