Today I got a pain right under my elbiw and it us pretty bad what could it be and can I avoid a doctor?

Any trauma? Did get hurt, or banged your elbow. If you can move your elbow with out any discomfort, then try ice compress and see if it helps.