Short answer is "Studies suggest that COVID-19 vaccines are most effective during the first three months after vaccination”
Longer answer is more complicated. A meta-analysis found that protection was about 30% 9 months after a booster:
https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2804451