Start with a sincere apology and offer to make amends if possible.
Do not expect to be forgiven just becasue you ask. Depending on the offence it may take a long time for the person to come to a point where they can accept your appology, much les be able to offer forgiveness.
Rememer also that just because a person says they forgive does not mean they actually do. Be prepared for that.