Banned cards may not be included in your main deck or sideboard for the format.
Restricted cards are limited to one copy in the deck, counting both your main deck and sideboard. Only the Vintage format has a restricted list.