Deductions & credits

We bought a new home in Jan. 2021;  We sold our old home in April 2021.  What do I need to show concerning both of these transactions?