Is your park brake engaged? Is the park brake indicator light lit up on the dash? If not, then the most likely culprit is the park brake switch in the console. This seems to be one of the most common reasons for tops not working.
I see you are new here so I will suggest you try using the forum search function to research your problem. This topic has come up many many times before so there is no point re-typing all the possible causes when the question has already been repeatedly answered in the past.
It seems to be a recurring problem here that new people come in asking questions that have been already answered to death because they don't bother doing a search first. You don't make many friends around here with that approach. Do your homework and then, if you don't find your answer, post your question. Explain what you have done already to try and fix it and what possible causes you have already eliminated. This will garner positive, helpful responses rather than a bunch of snarly posts telling you that search is your friend.