Yes you can cancel it,if its E-ticket you have to file tdr or if PRS ticket you need to go to PRS counter and cancel it...Refund depends on whether your ticket it confirmed or WL status after charting.If its a confirmed one you would get 50% of fare as refund..