Or you can shut off the IR sensor on your Mac and it will no longer respond to remote commands.
I'm unsure of what version of Mac OS your running, but it can gernerally be found in the security system pref panel.
And if you ever want to use your Mac with a remote - simply turn the setting back on temporarily.