There are several ways bugs can get into your bedroom, from flying in through an open window, to coming in on your clothing, pets, or shoes. It may also be that you have a wider home infestation and the bugs have migrated internally through your home to make it into your bedroom, too, so it is worth checking your whole home if you notice one or two insects hanging around your space.