Wanting to join the military

So I was wondering if I was able to join the military if I had a history of bipolar and depression when I was 13-16 I’m about to be 21 now. I haven’t taken any medicine or seen anyone in almost 5 years and don’t plan on it because I feel it not only doesn’t affect me anymore but when I did have it it was never ever bad. To be honest I think the doctor just prescribed to forget type thing. I have 2 kids and I’m working on my GED seeing as I couldn’t graduate due to family stuff. I really would like to join, but I don’t know if those past records are gonna get in the way...I plan on talking to a recruiter and seeing if I disqualify, but in the mean time I’m just curious.