The dialectal pronunciation of “ask” as “ax” suggests to most people that the speaker has a substandard education. You should avoid it in formal speaking situations.