In my opinion, the ways are:
1. Be friendly.
2. Donate things you do not need to charity.
3. Volunteer in charities.
4. Share your knowledge by teaching.
5. Listen to their problems.
6. Buy or share food to the homeless people.
7. Show that you appreciate others.
8. Always be patient.
9. Pray for them.