Roth IRA contribution question

I contributed $1,000.00 to my Roth IRA and $6000.00 to my Traditional IRA in 2021 (I'm over 50). However, I think my husband and my income was over the AGI for being allowed to contribute to IRA's?? also my husband has a 401K through his employer. My question is how to see if we are over and if so is there anything I can do before filing for 2021 taxes?