Vulgar — strictly informal speech and the internet.
肏 is the 'proper' character but online you'll mostly see
我操,
我靠 (softer), or just
卧槽 (a homophonic dodge). Functions exactly like English 'holy shit' — surprise, frustration, awe — not a literal threat.