How to compile SLC 500

just now i have installed PLC as per your step by step guide line , but when i Upload code in RSlogix Emulate then a display appears which ,(This SLC 500 program must be compiled before it can be emulated) please suggest me what should i do