Anixx,
I went through this about three years ago. If you are in a state of Grace, then you may partake of the Sacraments. Was your previous marriage annulled or not? Was it a valid Church blessed marriage? Either way, if you are not living as man and wife with someone or otherwise living in sin, you’re ok.