Depends on how well the wheels are built, could be anywhere from one ride to never. Properly built wheels will stay true for a long time.
Spin the wheel and check the gap between the rim and brake pad, if the gap varies by more than 1 mm they need truing.