Q.prevention of caterpillars
Is there any way to prevent it so that no caterpillar enters in the room?
Certified GKH Gardening Expert
Anything you can do to attract predators that eat caterpillars to the outside of your house will help. For example, you could provide bird seed or plant attractive flowers to bring in beneficial insects. You could also use an organic or synthetic insect repellent around your house:
https://www.gardeningknowhow.com/plant-problems/pests/pesticides/neem-oil-uses.htm
Or if you wish to use an insecticide see this article:
http://www.dnr.state.mn.us/treecare/forest_health/ftc/homeownertips.html