Birth Control question

Brooklyn`s
If you use a specific birth control and the pharmacy doesnt carry it anymore and gives you the equivalent will the side effects be the same ?