I take the water out using my gravel cleaner as a syphon. Before that I did it by dipping a bucket into the tank but I find this way less stressful on the fish.
I do a water test, then take out about 20% using the gravel cleaner and then add temp matched (to touch) dechlorinated water using the syphon again to ensure as little stress as possible is put on the fish.