corsa 2004 - engine management warning light - mr cox

I recently had the crankshaft sensor replaced after it showed up on the diagnostic test and the warning light was on, it came on again and i took it back to the garage and they replaced it as they thought it may have been faulty, unfortunately the light has come on again, is there any way of resetting it ? or is it another problem? hope someone can help thanks.