Can you engage in sexual things when your pregnant?

Umm I’ve always been afraid to ask if you can do sexual things like intercourse while pregnant?