Duplicate Definition

I have entered a program in my computer off of the net and when I hit F5 it says "Duplicate Definition". After searching for a while, I cannot locate the problem. It has also done this on a program I am writing now. After searching all of my QBasic materials I find nothing. Can anyone help?