In that case, Domin8or's advice about finding other ways to pleasure might be helpful for you. I experienced painful intercourse a long (long!) time ago, but I think it was more a matter of nerves and inexperience than muscle spasms. For me, being on top made it go away.