Question about replacing parts on a bike only used on a trainer

Just go on ebay and find the exact same model crank you have in the correct size.