Ideally a full size spare would be best. However the donut can be used. Just make sure to install it in the proper place per your owners manuel, keep your speed down and drive on it as little as possible. It will get to to a tire shop.
If you are off road...well, a full size is definately the way to go. It would require some special driving to get off the trail with the donut.