You pay him or face the criminal case. If you can perusade your friend he may give you some more time to pay. But you have to pay as he is having the cheque.
Please give me complete information about your case only then you can be given a good advice. If you ever need legal advice, you can call or WhatsApp me at 9719775005.