chlamydia

okay so i recently just a check up & got told i have chlamydia & i haven’t done anything sexual since december of 2021 with my ex boyfriend , we weren’t “ together “ officially but still seen each other off & on and i’ve asked multiple times if he’s been with anyone else and he always said no. but i’m no longer in contact with him what so ever and the past year of 2022 i haven’t done anything sexual except for kissing a couple of people , can you get chlamydia from kissing and i’m getting put on antibiotics how long does it usually take for it be treated while on antibiotics ? this is my first time having anything like this and i’m so confused on how i got it.