Gun laws in America can be a little confusing. There are different regulations between states in some cases, but in general, the Second Amendment does give you a right to bear arms. However, there are federal regulations and laws that you need to follow.
For instance, federal regulations do place restrictions on some kinds of firearms. The National Firearms Act restricts the sale or possession of machine guns, silencers, and short-barreled shot guns. If a person wants to get that kind of a weapon, then that person has to go through a background check, must register the weapon, and will also have to obtain a tax stamp, which is needed to manufacture the weapon.
Sometimes, certain states completely ban the ownership of some kinds of weapons. For instance, the above weapons are banned in California and New York.
There can also be restrictions on a person looking to own a gun. If you are a fugitive, have been in prison for over a year, use or are addicted to a controlled substance, or committed to a mental institution, you are not allowed to have a gun for personal or business use. If you renounce your U.S. citizenship, are a subject of a court order restraining you from your family, like a spouse or children, or if you're convicted of domestic violence, you may also be banned from having a firearm.
Our website has more information on gun rights and what you can do if you've been charged with gun crimes. With the right defense, you can have a better chance of winning your case.