There's no hard rule. You can try going back today if you wish. It depends on the CBSA officer and how your interview proceeds. But the unofficial recommendation we say here is at least 6 more months, or spend more time outside of Canada than your last visit, before you attempt to go back.