I dont know what to do?!

nu

Okay so a couple months ago me and this guy started dating we dated for about 3-4 months before he started getting in to trouble alot well one day he just stopped texting and etc. i figured he had broke up with me so after about 3 weeks of crying i got myself together and about a month later i started dating again but heres the problem yesterday night he came back he explained the whole situation about him gettin in trouble and all this stuff and saying he missed me and still loved me and I realize we were still together and never officially broke up so i basically cheated right?idk wat to do should i tell him?