Pain after sex?

So me and my boyfriend had sex and I didn't feel it then but a about 20 minutes later I started to get really bad lower back and Lowe abdominal pain like if I lay down or sit it doesn't hurt as much but when I stand it hurts or when I cough . Does anyone know why this happens or what it is ? Should I be worried ?? Help please and thank you !