There’s a useful list of install methods here. The simplest is method one, where you would copy HA onto the SD card using some other machine - your PC, say - then insert it into the Pi4. The Pi is no longer usable as such because HA has replaced the operating system, but HA can be accessed from any other machine on the same network using a standard browser, or from your phone/tablet using the HA app.