Can you tell if it just missfires when its idling or throughout the rev range?
Its worth checking the sparkplugs, check the ht leads, and injectors. If its a 172mk1 try changing the fuel filter.
Was gonna say, if its just the odd pop from the exhaust when idling thats normal.