Generally speaking, if you were baptized Catholic then all you need to do is go to confession. I don’t know what sacraments you have received but if you need 1st Communion or Confirmation you can sign up for classes to receive them. If you have been married outside the Church then you need to rectify your situation.
However, the first step is to go to confession to a priest you trust and go from there…