If being harassed by email or instant messaging, reply once shortly stating that you wish for the harassment to stop. At this point make no further contact with the other party. Save all offending messages that you receive via email and save chat sessions, where possible.