Help with recovering plant

This plant was left in the sun and ended up with some scorched leaves. New leaves keep turning yellow. Do I have to prune this to help it recover?