How do I do a clean install of macOS Mojave? I follow instructions and installed macOS Mojave on my MacBook Air. The update installed and when I try to use the new software, to my surprise, every 2 minutes the screen was frozen.

I am using Mac since I was 18 years old and I am 50 now. I know macOS and the use of software very well.

I have created a USB macOS Mojave installer and tried clean install. To my surprise it got me nowhere. I tried recovery from Internet with no luck. I partition the hard drive to journal but with no luck again.
Make sure first that your hardware is compatible with Mojave - macOS 10.14. Some sources to check:


http://osxdaily.com/2018/06/05/macos-mojave-compatible-macs-list/
https://www.cnet.com/how-to/here-are-the-macs-that-will-work-with-macos-mojave/ 


To do a clean install of Mojave:


Make a usb install drive following these instructions.
Back up your system drive in triplicate, or whatever you're comfortable with. Ideally one would be a literal clone of your system.
Boot from the USB drive, and erase your system drive in Disk Utility. Format it as HFS+.
Quit Disk Utility, and install Mojave on the drive you erased.


If those steps don't work, I would suspect a hardware incompatibility or problem.