Orgasm

When I begin rubbing my clit my legs begin spazzaming and it distracts me and I stop. The feeling is great but I can never keep it going. I've never orgasmed before but what are some ways to overcome getting distracted and more aroused, thanks X