Miscarriage

I'm 8 weeks 1 day pregnant how can I prevent a miscarriage I've had a lot of abdominal pain starting from my back I'm afraid it might be a miscarriage . I had the depo shot and drink alcohol while pregnant . And I left a lot of heavy things at work . Is there a way I can prevent a miscarriage ?