How long does water have to sit for water changes in a fish aquarium?

I have a 5 gallon tank with 1 Betta fish and wondering how long does my water have to sit before adding new water with a water change?

it's been sitting 5 days so far?

Thanks
3 answers 3