If you have a compact temporary tire to change out, you'll only be able to drive for a very short distance before you have to replace it or repair your tire. Get off the road and to a service center right away.
Your full-sized spare tire can be driven on indefinitely, but you'll want to replace the spare you had. You could have another flat tire at any time.