Prego test

I haven't had my period for a month but that's normal for me to irregular. But I've been bloating and gaining weight recently. Would and or should I test?