I think a lot of it is mental, make a rehearsal as much like a gig as you can.
Standing during rehearsal before a gig helps. Don’t face each other, throw a coat in the corner and say that’s your audience. If you’ve never done it, you’ll cut down on gaps between the songs, play with more energy, carry more confidence into the gig.