If you misgender someone whose pronouns you know, just correct yourself and move on. No need to make a big apology. This often pushes the awkwardness of the moment off on the person you misgendered who feels they have to forgive you for the conversation to continue which is manipulative and self-centered.