Late period?

Victoria
I had my gallbladder taken out almost two months ago, could it be the reason why my period is so irregular? I am sage when having sex so I am wondering what the problem is :/