Safety measures while operating a Stirling engine include ensuring proper ventilation to avoid overheating, regular inspection for leaks, and maintaining correct pressures to prevent explosions. Shielding from moving parts and flames is necessary for user protection.