The chain needs to be carefully untangled before you try to ride it again. Consult the article on untangling a bike chain.