You might have come face to face with an Asian Lady Beetle! They make look like a ladybug, however, Asian Lady Beetles can be slightly larger and come in various shades of red and orange. Another way ...
To prevent them from entering your house, look for spaces and cracks on the outside that would allow the bugs to enter. Seal them with caulk, polyurethane spray foam, steel wool, or copper mesh.