Let's say there is two different companies who make something like amoxicillin. Are the meds identical or made by the same guidelines? Is it possible one company gives you side effects, while the other does not?

What are some things to watch for changing a company brand? (ford vs chevy)