Table './familybx_eb/ebp_n_ad' is marked as crashed and should be repaired

select ebp_n_months.i_m as i,ebp_n_months.c_m as c,ebp_users.username,ebp_users.u1,ebp_users.u2,ebp_users.u3,ebp_users.u4,ebp_users.u5,ebp_n_ad.ad,ebp_n_ad.cats from ebp_users,ebp_n_months,ebp_n_ad where ebp_n_ad.accept = '1' AND ebp_n_ad.approv = '1' AND ebp_n_ad.enabl = '1' AND ebp_n_ad.ad != '' AND ebp_users.suspended = 0 AND ebp_n_ad.size = '1' AND ebp_n_months.size = '1' AND ebp_users.n = ebp_n_months.user AND ebp_users.n = ebp_n_ad.user AND ebp_n_months.m = '8' AND ebp_n_months.y = '2018' AND ebp_n_months.ad_n = 1 group by ebp_users.username order by ebp_n_months.i_m desc limit 100