They can distribute them directly to shareholders through a dividend, or indirectly by buying back their own stock( which makes remaining shares more valuable).
REITs hold a special place in the hearts of dividend investors, because they must distribute at least 90% of their taxable income each year to shareholders as dividends.