What's a good way to apologize for being too flirtatious?

In this case, I'm apologizing to an aerobics instructor for being too flirtatious with the womenin her class.I've been in the class over a year and recently asked her out, so she's generally upset with me because of that, but also apparently some of the women in the class complained about me.
What's a good way to apologize for being too flirtatious?
Post Opinion