In general, not a problem to take both.
I believe there is a moderate risk of gastrointenstinal bleeding when both ssris and nsaids
are taken chronically (i.e. Every day), though i don't think there's any research showing significant risk of occasional NSAID use in patients taking ssris. It would be important to know what other GI bleeding risks you have, if any.