Ovulation question

Normally my periods are about 28 days in between. However, The last one was only 24 days. I got my period on December 18 and it was about four days long. When do you think it safe to take a pregnancy test