How to prevent rats from getting inside and roaches

Okay so now me and my husband are dealing with an infestation in our home so we will be moving to another home but I’m scared of getting another infestation I’m traumatized from hearing rats running in the fueling and mice crying and seeing one rat in the kitchen.