If you do it routinely i.e. every day your body adjusts to a new sleep pattern. However, if it is just a one-off, it can be very difficult. The second night is usually worse than the first. I found another effect was a craving for high-calorie unhealthy food during the night 'lunch' break.
Try to relax before your shift so you start fresh, and don't overdo the stimulants.
Research polyphasic sleeping.
It involves retraining yourself to sleep in shorter shifts, but spread throughout the day. Having the sleep spread throughout the day means that you don't need as much and you will feel more rested.
The most extreme example is people that sleep for only twenty minutes every four hours.
There are much more accommodating sleeping schedules but I won't go into them here. Use Google.