How do girls know when they will start menstrating?

if you take trustpills last July 31 when your menstruation come??