You can act as a resource to your friend by connecting them with professional or peer support when more help is needed. Always allow your friend to choose and empower them to help themselves.
Your friend may not want to talk, or may not access the resources that you suggest. It is important to respect their decision and point out that you are happy with whatever they decide. Listen when they are ready. The only exception to this is when the situation is an emergency.