Minor Accident

Hi everyone. This morning I accidentally rear ended someone with my car. We got out and took pictures but there was no damage to either of our cars. We exchanged phone numbers and have continued to go on with our day. I hope I did the right thing :(