Well, it is very hard, sometimes impossible to earn backlinks naturally in the porn, because webmasters are not going to link to you unless you are really big like PornHub or XVideos but very few people do it anyway.
You can exchange some backlinks with related websites and if you buy them, then always make sure that it is related to your niche and the sites you are getting them on are ranking well on Google for some keywords.