I'm a beginner and this is my only concern about cycling. It's not happened to me yet but I'm not confident at all about replacing the inner tube.
I've got a couple of spares, a lever and a mini pump which I take with me on my rides. I just hope I don't need to use them when I am out.