Losing virginity

I lost my virginity to my boyfriend who was also a virgin. But we felt weird after. Like the timing wasn’t right or something. I’m not really that knowledgeable with sex and that time hurt a lot, so much I was literally screaming. I feel like that made him uncomfortable. Does anyone have advice? We also see each other maybe 1-3 times a month since we don’t live near each other. I don’t know how to feel and I’m scared it might cause a bump in our relationship.