Online, for faster updates. It takes a while for manga to get licensed in my country, even if it's popular. But if it eventually gets licensed and I enjoyed reading it online, I'd also buy the physical version. Physical copies are also just a safer option, considering how many websites and apps have shut down in recent years.