Unless there's an "in lieu of flowers" notice, send flowers and a card with some heartfelt condolences (don't just sign your name.) Depending on the circumstance, offer money to help with the funeral or any dependants left behind, charitable donation if one is specifically indicated, send something to make life easier for a while if your relationship is really close (food/take out gift cards, cleaning service, etc.) And call or visit reasonably soon.