In advance of executing any of this, you'll want to check with you why the gears are out of adjustment. I see a bike on a daily basis that does not have its wheels correctly within the dropout - place the bike on its wheels and open and shut both https://mybikereview.com/bike-gear-indexing/