I worked 11PM-7AM for 24 years. I actually liked working those hours. But, the hours didn't like me. I had trouble sleeping, as you likely have also. I took some advice from someone who had worked mid-shits far longer than I had. He said to get aluminum foil and put it all around the inside of your windows in the room that you will be sleeping. The wife didn't like that. So, she would take them out during the day before I went to sleep (usually around 4PM). You need quiet time during your sleep time. That's not usually feasible if you have kids. So, what I did was opt for white noise. I would put a small fan in my room at high speed. At first, the fan kept me awake. But, I got used to it quickly. That drowned out most noise and I slept like a baby.
If you going to stay on that night shift, your body has to adjust. It's going to take some time to do that. Best of luck to you.