First I practiced sat down to teach my fingers the correct strings and frets so I knew them perfectly without having to read any music or w/e.
Then I would stand up and practice the exact same thing how I would play on-stage.
In time when muscle memory takes over more, you find that it matters less and you can play easily any way.