Correct,if your flaps can not be retracted following your ecam actions,you would return to your take off airport.
Hang on a moment, preparation is important for this on the Airbus. Handle it, discuss it, decide - and thats generic. Your landing performance maybe extremely limited especially if ou flaps are jammed at conf 1. We use DODAR. Beyond that consider a WOLF check for landing:
W- weight
O- operational factors at airfield: RFFL, weather, navaids, surrounding terrain etc.
L- landing dist available
F- Fuel (not such a factor for a return - possibly) - use the fuel penalty pages of QRH for divert too.