please tell me which of the following is gramatically correct
Fire lighting is a skill that needs to be learnt
Fire fighting is a skill that needs to be learned
They are both correct.
If you mean the spelling of "learnt/learned", they are alternatives. "Learnt" is a BrE form.