When you get bedbugs and want to prevent them from getting on your bed (after treatment, say) you pull your bed away from the wall, thus limiting the surfaces they can transfer from. If you also put your bedposts in interceptor traps you’re pretty safe from them. They’ll get stuck in the traps and be unable to get out.
Source: had to deal with the bastards for a year because of a useless landlord and incompetent exterminator. Got really, really good at pest management.
I heard that they can climb to the ceiling and drop down. Not sure how true it is, but helps to enforce how nightmarish they are, like they are some sort of unstoppable entity.
A headboard touching the ground just invites them in. If the headboard is removable, remove it temporarily.