Welcome to the site !!
First , we need a bit more info ,
What year is the bike ??
What is your elevation ?? (where you ride it the most)
Have you checked the Valve Lash to make sure they are in spec ??
Has the bike sat for any length of time ?? (more than 1 month with gas left in it ??)
Does the Hot Start Lever work freely ?? , and does it make a difference using it when the bike is hot ??
Has the carb been taken apart or cleaned recently ??
Was the Fuel Screw removed for any reason and possibly incorrectly adjusted or damaged ??
Was the bike running fine , then started doing this ?? , or did this just happen and the bike was running fine then suddenly started popping ??
All this info is needed to figure out why its backfiring .....usually the main culprits are:
Dirty Pilot Jet
Old Gas
Intake Valves have tightened up and need shimmed and/or replaced
Fuel Screw O-Ring is missing or is damaged
Fuel Screw has been mis-adjusted
Hot Start Lever stuck