I have a question

My husband and I just bought a new(er) house. We still have the one we lived in before and will probably rent until we can get it ready to sell eventually. Would it be better once we sell it to put that money into the new house principal or to invest it? We don’t have much retirement and are 46 & 49.

Thank you!