Upvote:3
If you didn't receive a ban for certain period of time, you can reapply the same day.
The thing is that you'll almost certainly get another refusal unless you provide UK consulate with a good reason to visit the UK and good proofs you won't overstay this time.