period help

i haven't had my period for about a month and a half but I haven't had sex in 6 months. anyone know why this happens?