This should be combined with environmental improvement. First of all, vents, doors and windows should be closed with insect-proof nets. Keep the greenhouse clean and away from insect sources. Then spray mushrooms and insect nets, or insect repellent and other drugs.
As for your bacterial infection. It is best to explain the specific situation. It is better to have a picture.