Catholic help needed

Hello, I need an answer from a Catholic person. So, I had an abortion at age 21 which I have already prayed to Jesus asking for forgiveness . It happened before I became a Christian and I am 24 now and became Christian 2 years ago. Anyway, I went to a Catholic Church recently and enjoyed the service, but is it true you cannot take communion, or do sacraments if you have had an abortion? Please let me know. Thank you