There are two parts to your problem as I understood it. First, if you registered, paid the fee, and then decided not to attend the classes, the institute may not agree to return you the fee. If they are considerate, they may return just a portion of the amount you paid. However, in the other case where the institute took the fee from you and did not conduct the classes, then you do have a right to make a claim on them. Having said that, the only option in the latter case if they refuse to refund you the amount is to take them to court but the process is very time consuming and it may also take several months before you get a verdict.