I mean, when you ask for some girl's number or ask her out and straight up tells you "no" - what do you say next?

Something like "thank you for your time, bye"?

Sorry it that question looks stupid, I'm really new to all this

edit: thanks for the suggestions!