The kid said he needed to pee, so we quickly looked for a restroom.
Tips
usage
小便 is a neutral/slightly clinical term. In casual speech, 上厕所 (shàng cèsuǒ, go to the bathroom) or 尿尿 (niàoniào, pee) are more common. In medical contexts, 小便 is standard.