Messing around with coworker?!?

Okay guys i need advice....im 17 years old and have a part time job, there’s this coworker who is pretty new and he recently started flirting with me and texting me. I joke around a lot and so does he but he said he’d be dtf? I WOULD TOO but idk if I should take him seriously? What if it ends badly and we have to work together. He is super attractive and I wouldn’t mind messing around with him but he is my coworker after all what should i do? Should i say F it and go along with it?