You'll know when you're ready, nk. It differs from person to person, but if you plunge into another full-on relationship too quickly, you're in danger of still carrying the past baggage with you, which can irritate or bore a new partner.
From a personal view, I'd still go out with friends, but not really for the sole purpose of finding someone to be with. If it happens, it'll happen naturally, but make sure you steer away from the trap of repeating past mistakes by going for the same type of person as your ex was. Good luck.