If you're free, you can text back within a few minutes, having enough time to come up with what you want to say. If you're busy, try to respond within a couple of hours to let her know you're still interested, but waiting longer than that can cause her to lose interest.