IPC Section 323 prescribes punishment for voluntarily causing hurt. This section applies when someone intentionally causes hurt to another person. Section 511 is the general punishment provision, 216A is about penalty for harbor of offenders, and 255 relates to offenses related to weights and measures.