How long to wait for swimming?

La

Ok let’s say best case scenario that when I give birth tomorrow I have no/very little tearing and things go smoothly. How long would / should I wait before I go swimming? I was thinking around 3 weeks? Is that long enough?