29 weeks pregnant and bleed a little after masturbating. Is this bad?

Probably OK. Assuming no sharp or very pointed foreign objects, things are probably fine. If you continue spotting or have pain or cramping, please contact your ob/gyn.