But im trying to understand what to do if i used internal oscillator what i need to do with the external oscillator microcontroller pins connect to GND or leave them unconnected ?
The controller clock is default configured with the internal oscillator, when ever required can switch to external oscillator. I think there is no effect on functionality because of the connection, no need to worry about it.