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 Vintage and Timeless formats has a restricted list.