The most important thing to do to get rid of a stray cat is don't feed it! Make sure you don't have any food laying around outside. This will cause the cat to keep coming back. If this doesn't work you can try calling a local animal control agency. Usually these agencies will come catch a stray for free.