5 months pregnant you are have Sharp pains but you are not bleeding are you having a miscarriage?

Only your doctor can answer that question.You should call your provider immediately.