Yes you could be pregnant. If you've been having unprotected sex regularily there's a good chance you're pregnant and that was not a period.
WHen you're pregnant your cervix gets really soft and filled with blood so having sex can irritate it and cause pain and some bleeding.
What colour is the blood? are you still experiencing pain? are you bleeding anymore?
You need to take a test and get into a doctor pronto.