Roaming pets are prime candidates for fights with other animals, traffic accidents, and communicable diseases from other animals Their life span can be expected to be considerably shorter as a result.
Most pets are strictly indoor pets and are perfectly content, as long as they have access to food and fresh water at all times. AVMA strongly recommends that for a healthier, happier pet you consider keeping your pets indoors only. If your pet must go outside, make sure you know where it is at all times, that the pet is old enough to manage on its own, that it is identified in some fashion (microchip ID or breakaway collar and tag), current on vaccinations, and not outdoors in extremely cold, hot, or inclement weather.
If you don't want your pet in certain areas of the house, start training it immediately to avoid those areas. When choosing where your pet will sleep, keep in mind some pets are nocturnal animals and will be active at night. Placing soft bedding materials in secluded corners will help your pet to feel at home.