Hello! I have a big problem!

So, my web service sent me an email, becasue I asked how can I set the perl service. They sent me an email and told me to write it:

Options +ExecCGI
SetHandler cgi-script

then

#!/usr/bin/perl

But I don't know which .htaccess file is good.

Pls help me, where to write it?
Thanks!