what happens on expiry day?

#1
what will my broker do with my open positions on the expiry day? will I have to sell the bought calls & buy the puts that I wrote to close out? can anyone elaborate this with examples please?

I could've asked my local sharekhan office but the guys there are very confusing.

Thanks.