Boyfriend used me

Allissa
My boyfriend has been using me for sex and I just put two and two together I feel so dumb and im 4 months pregnant with our kid what do I do?