i need advice

when i was 16 years old i was in a relationship with a guy who told me he was 19. i remember in the beginning of the relationship he pressured me into allowing him to give me oral and then after apologized and said he was sorry and he thought i actually wanted it and i was playing when i was telling him to stop (granted i may have been saying stop in a light way that he could have taken as a joke) the relationship lasted 6 months and during those six months we had sex. a year after we broke up, present day, we reconnected and he finally told me his real age which is 25. i was 16 while he was 24 and we were having sex all while i was under the impression that he was 19. i don’t know if that was legal and i also don’t know how i feel about the situation or if i should talk to someone. i need advice.