Question: how long should you wait to respond to your ex?
Answer: If you don't get a response after 3 – 4 attempts to connect, or don't hear back from them in 3 – 4 weeks, stop trying to contact them. They are either intentionally not responding/ignoring your texts/emails, or saying (by not saying anything) that they want you to stop contacting them. So stop.