Doctors caused Miscarriage

Lyrix

An express care Doctor prescribed me prednisone after having me take a pregnancy test which they say came back negative but it was 8 days before AF should i be ok if pregnant? Or will i miscarry again if pregnant?