Dependent

My son has officially moved back with me effective today 6/9/21. Do i need to do anything or file anything so his father doesn't claim him next year? or since it is the 6th month into the year he will be able to still file him as a dependent