I need advise...

So my 4 year relationship is at a stop atm .. I kinda messed up and iknow its pretty bad bc. Hes never been this mad at me nor has he ever spoke to me the way he did ... When he messes up he waits a couple days to let it cool down i guess and then texts me but he told me to forget about him and how basically we never met ... Iknow its outa anger ii alrdy have this huge paragraph waiting to send but im so nervous. I didnt cheat or anything like that i just posted a picture ig i should've kept off instagram .. It was nudity or anything of that nature I HAVE HIPS AND LOTS OF ASS so it not like i couldve hid it but i understand he dosnt want me to be seen like that or have ppl think of me in some negative way i understand that ii was mad at him thats the Only reason why i did it ... Also ii just found out im 4 weeks pregnant.... Have no idea how to tell him now .....