it depends if its no spin, backspin, topspin, sidespin, and also depends on your bat setup !
Like for all receives you should first be able to spot quickly which of the above it is, because if you spot it wrong, then its very likely you are going to miss your receive or make a weak one at best.
As a general advice, if you have trouble receiving long serves, it might mean you are too close to the table in your waiting position, go back by 10 cm.
If you're playing with backside rubbers, if the serve is nospin / topspin / sidespin then I think its better to take the ball early off the bounce, you adjust your bat angle to the spin of the ball. You don't need a big swing, the incoming ball has enough speed. So just a compact stroke and focus on timing and placement.
If the ball is backspin its more tricky, try to be in position quickly with your legs, and arm for a good swing, but try to (slow) loop the ball, not a big drive. you can try to pivot and use your FH as well. Usually at our level, the backspin serve is slower than other serves. If the ball looks too difficult to loop, there is always the possibility to push it back but get ready for a strong attack from the opponent.