First of all and the most import Don't swerve sharply to avoid broken glass on the road especially when there are other vehicles around you. Also don't brake abruptly if you are being followed by others. Try to avoid the glass safely. Always look ahead for dangers on the road and avoid distraction. Remember a flat tire is Not important than your safety and safety of others on the road. So make a better judgment on basis of situation.
Report about the broken glass to nearby police/ any other agency responsible for roads for immediate removal if possible.
For tires, it depends on what type of broken glass it is and how it is laying in the roadway. Safety glass, like from vehicles windows, is designed to break up into small cubes and not create sharp pieces. These will not generally be a problem if you run over them. Yes broken bottles will have sharp edges and can flat your tire. As I mentioned above, avoid going over glass only and only if its safe to do so..