In forward bias, p-type is connected to positive terminal of battery and n-type is connected to negative terminal of battery. Hence, carriers are accelerated towards opposite terminals for the conduction thereby increases the number of electrons on n-side.