First of all you need to know the control codes of your remote control.
Connect only the IR sensor and run his code. Open the Serial Monitor and point the remote control to the receiver. Press the buttons and the respective codes will appear. Sometimes the code 0xffffffff can appear because you have pressed the button for too long.
Then connect the LED and run the code, where you have to insert the codes of the two buttons you want to use.
With a button you can turn on and off the LED. With the other one you can make the LED blink.