This document provides a practical guide for preparing health and demographic surveillance system (HDSS) data for analysis using Stata. It discusses HDSS systems which collect health and demographic data on people living in a defined area. Most HDSS sites use a reference data model to store temporal and relational information. The guide reviews converting HDSS datasets between wide and long format, combining datasets, checking for inconsistencies, and preparing for event history analysis in Stata. International Network of field sites known as INDEPTH collects data from HDSS sites mostly located in Africa and Asia.