Hello ritvik15
Passenger details cannot be amended after purchase.
As with air tickets, too, train tickets can contain up to three typos provided the passenger’s name is still recognisable and the date of birth is correct.
Your ticket is fine for travel.
Kind regards,
Roland