Kiraamisa, you will need to give us more info for us to help you:-)
If you can let us know the problem, and post the code you have developed so far (please use the # button from the format option when posting code), then people will be happy to give you advice on how to progress.