Ideally, you'll want to put your passport in a personal bag that is physically on your person at all times while you're moving through the airport. This way, you know exactly where it is and you will be less likely to forget it somewhere, lose it, or have it stolen.