Much like car insurance in the United States, most of the states have made motorcycle insurance mandatory. New Hampshire and Florida are the only states that do not require coverage or proof of financial responsibility for motorcycles. The amount of minimum coverage needed varies by state, just like with car insurance. Still, the main factors determining your pricing are who you are (age), where you are, and the type of motorcycle you have.
In Canada, it is mandatory in every province for motorcyclists to have motorcycle insurance. There are also licensing requirements that are different than those in the US. You will need to check these, especially if you purchase a new bike. Minimum coverages will vary based on the province. Still, in Ontario and British Columbia, you will need to reach out to a broker to insure your motorcycle before you ever think about getting on the road.
In either country, you will want to check with your insurer to ensure you have the coverage needed before you hit the road. Some people choose to insure while riding only, whereas others will insure for the whole year. Check your policy and make sure it is valid on your motorcycle.