Underage sex

So I'm 17 (about to be 18 in August) and I recently lost my virginity to a 15 year old. could I get in trouble with the law for that?