Clean chilis, remove the stems, and roughly chop
Add chilis to a food processor along with garlic
Add salt, sugar, and vinegar, and puree until you reach the consistency you like
Taste and adjust any of the ingredients if needed
Add to a small pan and saute for a few minutes until the peppers have softened
