When encountering offensive comments online, users can report them by selecting a reason such as foul language, slanderous content, or inciting hatred against a community. This notifies the moderators who can take appropriate action. After reporting, a message confirms that the reason has been sent to the admin for review.