Help, the pill, sex, pregnancy ??!?

Xitlalli
I started taking the pill last week. On the 7th day I had unprotected sex and it was my first time also. Yesterday I Started cramping and having back pain. Today I woke up and I think I'm spotting. I don't know what's happening. Help