How to write sex scenes?

I’m writing a book where sex is pretty inevitable. This is my first book, and I’m not sure how descriptive I should be while writing sex scenes. I don’t want my book to be viewed as an inherently sexual book like 50 shades of grey. But also it sort of needs to happen to move the story along at certain points. Can anyone give me advice on how they went about writing NSFW scenes?