There are laws against trials by social media, but action usually comes only after the damage has been done, says criminal lawyer Goh Cia Yee.