Make Roth contribution with previous Roth withdrawal?

We withdrew money from a Roth account to help with the down payment for our new home. That money has since been freed up. I was thinking about making Roth contributions for 2021 (I am age 70 and still working). But then I realized I would be making contributions with the same money we had withdrawn. In effect, I think we would be trying to get tax deductions twice. If that is indeed a problem, how long am I prohibited from making Roth contributions? Does that also apply to traditional IRA contributions? Many thx!