My title is spelling is wrong…how to change…
If there is a minor spelling mistake in the actual passenger name or surname then it is not a problem as the TTE can match your age with your ID.
However a passenger can change name in the E-ticket by visiting the nearest Railway Reservation Office. You have to take the print out of the Electronic Reservation slip along with the photo identify proof of the passenger whose name is required to be change. This facility of name change is being offered to the passenger as per the extant Railway rules of the by the Indian Railways.