User Activity

How do I retrieve info ie. contacts, messages and photos when I put my old sim in my new flip phone?