Is 17 and 15 a bad gap???

I just turned 17 and he just turned 15. Help pls I don’t want to do anything illegal! Should I break up with him???