Hello,
Welcome to ehealthforum.
The pain during intercourse can suggest possibility of pelvic infection (PID). The spotting could mean either a complication/side effect of the shot, or possibility of pregnancy.
Visit your healthcare provider/gynecologist for an examination and tests to find out the cause behind your symptoms.
Take care.