can someone help me with this

What Arduino are you using? AFAIK pin 11 isn't the default output pin for any of them. Have you modified IRremote to use that pin?

Steve