Mic shot!!! Please help?

Has anyone ever used in MIC shot for weight loss. My boyfriend and I I had a slip up and I could possibly be/ get pregnant I got a MIC shot a few days before. could this affect the pregnancy?