Let's say Ayatollah X has a certain opinion and Ayatollah Y has a different one. Given that I find Ayatollah Y's opinion better but I am in the taqlid of Ayatollah X, what do I do? Also, this only applies for a certain topic.

Stay on your taqleed.
The matter is not what you desire.