ground should go to ground
Vs should go to 5V
OUT should go to pin 11.
What version of the IRremote library do you have installed. The improperly posted code is for an older version (<3.0). If you have the newest version of the IRremote library installed the posted code may not work right. In that case, try some examples that come with the library that you have installed.
Read the forum guidelines to see how to properly post code and some information on how to get the most from this forum. Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
You can go back and fix your original post by highlighting the code and clicking the </> in the menu bar.