Turn your bike upside down, resting on saddle & bars, then use your third hand to support it while you pedal and change gears to your smallest (highest) cog. Look for a lever on your brake mech that releases/tightens the brakes by a few mil, and release it (otherwise when you've fixed your p*****e, you won't be able to get the inflated tyre past your brakes). Then just release your quick release hub or loosen nuts, and wiggle your wheel till it comes out (it may need a thump or two if it's not been out for a while - look at the 'slots' the axle is sitting in to see where to thump it). then you'll find it's obvious - just disentangle the cogs from the chain and lift out. Fix your p******e, then do all that in reverse. One thing: when you put your wheel back in, check you've got it positioned right by tightening it lightly and giving it a spin - if it touches the brake pads, it may need adjusting till it doesn't. If the wheel *is* held by nuts rather than quick-release, tighten them sort of 'an hour' on this side, an hour on t'other and back again and so on till they're both tight - if you fully tighten one, then t'other, you'll find your wheel is completely askew.
One last last thing - before you do *any* of this, find out where the hole is....probably only one in three actually needs you to take the wheel off at all. If you can, just lever one side of the tyre off at roughly the right place, pull the tube thru' the gap, and fix it like that, then tuck it all back in.
I think that about covers it. Good luck!