Pain during sex

So me and my boyfriend havnt had sex for about a month and a bit due to me being off the pill etc - not important lol. We tried to have sex yesterday and it was like losing my virginity again? It wasn’t immense pain but it was very uncomfortable and felt burny? Anyone had the same? Is so what’s going on?