Same means identical.
Similar means 'only indicates likeness'.
1. I am the same man whom you helped once some two years back.
2. Two girls of the same age.
3. The same rules as before.
1. My brother is similar to me in many respects.
2. Similar food at similar prices.
3. They wore similar coats.