Flu Symptoms

Hey guys I know it’s flu/cold season. Last Wednesday my boyfriend was sick and stayed sick for about a week. The last two days he felt fine so I saw him last night. I would say that was about day 8 or 9. It wasn’t covid bc he took a test so I’m assuming it was just a bad cold or possibly the flu….. I was wondering could it be contagious for that long? Is there a chance I could’ve caught something after that period of time?