embodiment of the present invention provide a method and a device for controlling a valve , which method and device permit precise and quiet operation of the valve . in one embodiment , the valve has a spring with a spring force . the valve furthermore has an actuator with an actuator force that can counteract the spring force . the valve has a pin that can be actuated by means of the actuator . the valve also has a sealing element that can be coupled to the pin . the valve has a sealing seat , such that the valve is closed when the sealing element bears against the sealing seat . an expected natural opening time , at which the sealing element lifts from the sealing seat owing to a pressure difference upstream and downstream of the valve , is determined . an electrical current with a predefined value is applied to the actuator at a time within a predefined interval before the natural opening time . at said time , the sealing element bears against the sealing seat . the electrical current is applied such that the pin makes contact with the sealing element and the actuator force corresponds to the spring force reduced by a predefined value . this has the advantage that the valve can be opened slowly such that the noise generated by the valve can be kept low , and reliable and sufficiently fast opening of the valve can nevertheless be achieved . furthermore , wear of the valve can be kept low . the value by which the spring force is reduced is in particular dependent on the pressure , or the force on the sealing element resulting from the pressure , at the natural opening time . the interval in which the predefined current value is applied to the actuator is predefined as being very short , such that the time at which the predefined current value is applied to the actuator immediately precedes the natural opening time . at the time at which the predefined current value is applied to the actuator , the sealing element is still just bearing against the sealing seat , and in the subsequent step , at the natural opening time , the sealing element lifts from the sealing seat . in further embodiments , in a first operating mode , the actuator has a current applied to it with a predefined non - constant profile proceeding from a starting value of the current , at which the pin is in a position in which it permits the closure of the valve . measurement values of the current are determined temporally in succession , and a reference value of the current assumes the present measurement value of the current when the profile of the measurement values of the current deviates by a predefined magnitude from the profile of the current applied to the actuator . the reference value of the current is representative of the actuator force corresponding to the spring force reduced by the predefined value . in a second operating mode , the predefined value of the current that is applied to the actuator at the time within the predefined interval before the natural opening time corresponds to the reference value . thus , the value of the current that is applied at the time before the natural opening time can be determined in the first operating mode . in further embodiments , the reference value of the current and / or the natural opening time are / is dependent on a temperature of a fluid in the valve or in a predefined region of the valve . this has the advantage that reference values of the current and / or the natural opening time can be determined under different , in particular temperature - dependent operating conditions of the valve . in further embodiments , the valve is arranged in an injection valve of an internal combustion engine , and the reference value of the current and / or the natural opening time are determined as a function of characteristic values of the internal combustion engine . this has the advantage that reference values of the current and / or the natural opening time can be determined under different operating conditions of the internal combustion engine . in further embodiments , the reference value of the current and / or the natural opening time are stored in an operating - point - dependent characteristic map . this has the advantage that the reference values of the current and / or the natural opening time can be recorded , in particular during the course of the first operating mode , for different operating conditions of the valve and / or of the internal combustion engine , and can be used , during the second operating mode , for the respectively present operating state of the valve and / or of the internal combustion engine . in particular , in the second operating mode , after the natural opening time , an electrical current is applied to the actuator such that the pin moves into a position in which it does not permit the closure of the valve . fig1 shows a pump 10 having a pump housing 12 . the pump 10 is in particular in the form of a high - pressure pump , preferably a radial piston pump . a pump piston 14 is movably mounted in the pump housing 12 . a pressure chamber 16 is situated in the pump housing 12 at one end of the pump piston 14 . to enable the pressure chamber 16 to be filled with fluid , said pressure chamber has an inflow line 18 in which there is preferably arranged a valve 20 in the form of an inlet valve . the valve 20 in the form of an inlet valve is preferably in the form of a digitally switchable valve . the valve 20 facilitates the filling of the pressure chamber 16 and , during the filling process , prevents a return flow of the fluid out of the inflow line 18 . the pressure chamber 16 also has an outflow line 22 in which there is arranged a further valve 24 in the form of an outlet valve . fluid can thereby be discharged from the pressure chamber 16 . the pump 10 also has a drive shaft 26 which is operatively connected to an eccentric ring 28 and which can be rotated clockwise in a direction of rotation d . instead of the eccentric ring 28 , use may also be made of a camshaft . the pump 10 may alternatively also be designed as a crank - drive pump . fig2 shows the valve 20 with a valve housing 29 which has a recess 30 . a spring 32 , a pin 34 and a sealing element 36 are arranged in the recess 30 . the spring 32 , by virtue of its being supported on a wall of the recess 30 , preloads the sealing element 36 via the pin 34 . the pin 34 has a first cylindrical part 34 a and a second cylindrical part 34 b , wherein the first part 34 a has a greater diameter than the second part 34 b . also situated in the recess 30 is a sealing seat 38 which is arranged fixedly with respect to the valve housing 29 and which has passage recesses 40 . fluid can flow via the passage recesses 40 when the sealing element 36 is not bearing against the sealing seat 38 . the valve 20 also has an actuator 42 which is in particular in the form of a magnet coil . the first part 34 a of the pin 34 is arranged within the actuator 42 and can be actuated by the actuator 42 . the mode of operation of the pump 10 and of the valve 20 will be described below : by means of a rotational movement of the drive shaft 26 in a direction of rotation d , the pump piston 14 is moved by means of the eccentric ring 28 toward the drive shaft 26 until said pump piston reaches a bottom dead center . here , the valve 20 opens owing to a spring force f_ 1 of the spring 32 and the pressure difference upstream and downstream of the valve 20 . the sealing element 36 lifts from the sealing seat 38 ( fig3 ). said time at which the sealing element 36 lifts from the sealing seat 38 is referred to as natural opening time np ( fig4 ). the pressure chamber 16 is now filled with fluid . by means of a further rotational movement of the drive shaft 26 in the direction of rotation d , the pump piston 14 is moved away from the drive shaft 26 by the eccentric ring 28 , and in the process compresses the fluid situated in the pressure chamber 16 . at a predefined time , the valve 20 is closed by virtue of a current being applied to the actuator 42 , whereby an actuator force f_ 2 , which counteracts the spring force f_ 1 , can act on the pin 34 . owing to the movement of the pin 34 in the direction of the actuator force f_ 2 and the prevailing pressure conditions upstream and downstream of the valve 20 , the sealing element 36 can abut against the sealing seat 38 , and a fluid flow through the passage recesses 40 is prevented . the fluid that is compressed in the pressure chamber 16 can now , in its entirety , be discharged out of the pump 10 via the further valve 24 in the form of an outlet valve . the pump piston 14 has now reached a top dead center tp ( camshaft signal ns , fig4 ). if the pump 10 is a high - pressure fuel pump of an injection system of an internal combustion engine , the highly pressurized fuel may pass to a fluid accumulator in the form of a high - pressure fuel accumulator , the so - called common rail . both during the opening and during the closing of the valve 20 , mechanically and hydraulically induced noises can be generated at the valve 20 . the noises generated during the opening of the valve 20 will be described below on the basis of fig3 . during the opening of the valve , in a first step , the sealing element 36 abuts against the valve housing 29 ( fig3 a ), whereby a first noise can be generated . after making contact with the valve housing 29 , the sealing element 36 can move in the direction of the pin 34 again , while the pin 34 itself is moved toward the sealing element 36 by the spring force f_ 1 of the spring 32 . a further noise can be generated if the sealing element 36 and the part 34 a of the pin 34 impact against one another ( fig3 b ). the pin 34 is subsequently moved toward the sealing seat 38 by the spring force f_ 1 of the spring 32 . a further noise can be generated if the part 34 b of the pin 34 impacts against the sealing seat ( fig3 c ). the control of the valve 20 will be presented in detail below for a valve which is open in a deenergized state ( fig4 ). it is self - evident that this may be applied correspondingly to a valve which is closed in a deenergized state . the natural opening time np of the valve 20 is predefined as a function of the top dead center tp . the natural opening time np is , in embodiments , dependent on further influential variables , in particular the temperature and the pressure in the valve or in regions at the valve . proceeding from top dead center tp , the valve is closed until the natural opening time np . that is to say , the sealing element 36 lies against and is in contact with the sealing seat 38 . the current that is applied to the actuator is set , for example increased proceeding from the time of top dead center , such that , at a time within a predefined time interval before the natural opening time , the force f_ 2 has built up to such an extent that the actuator force f_ 2 substantially corresponds to the spring force f_ 1 . at the time within the predefined interval , the actuator force f_ 2 is smaller , to a minimal extent , than the spring force f_ 1 . the actuator force f_ 2 corresponds to a spring force f_ 1 reduced by a predefined value f_ 3 . the predefined value f_ 3 is for example dependent on the pressure conditions upstream and downstream of the sealing element 36 . in embodiments , at the time within the interval before the natural opening time np , the actuator force f_ 2 is equal to the spring force f_ 1 . the predefined interval before the natural opening time is selected to be infinitesimally small . correspondingly , the current is applied to the actuator 42 such that , immediately before the natural opening time np , the actuator force f_ 2 is smaller , to a minimal extent , than the spring force f_ 1 . as a result , at the natural opening time np and immediately before the natural opening time np of the valve 20 , the pin 34 is in a central position between a maximum position of the pin 34 in which the pin 34 , in particular the part 34 b , is spaced apart from the sealing seat to a maximum extent , and a maximum position in which the pin 34 , in particular the part 34 b , bears against the sealing seat . in the central position , that end of the pin 34 which faces away from the spring makes contact with the sealing element 36 but exerts no force or virtually no force on the sealing element 36 . if , after the natural opening time , the sealing element 36 moves away from the sealing seat 38 in the direction of the valve housing 29 owing to the pressure conditions , the pin follows said sealing element owing to the spring force f_ 1 . owing to the current applied to the actuator , the impetus to which the pin is subjected owing to the spring force 34 is weakened . furthermore , owing to the movement of the pin 34 , induction is effected in the actuator 42 , which changes the measurement values i_av of the current . owing to the fact that the pin moves only from the central position to the end position , the distance covered by the pin is reduced . this shortens the required time until the pin arrives in the right - hand position . in this way , a low speed can be used for the movement of the pin . this reduces the impact energy ( cf . fig3 a to 3c ). in particular , the reduced impact impetus of the pin against the end stop 38 results in quiet opening of the valve with little wear . during operation , the gradient of the trend of the measurement values i_av can be determined . a predefined change in the gradient is representative of the natural opening time np . as shown in fig4 , the trend of the measurement values i_av has a bend at the natural opening time np of the valve 20 . by determining the predefined change in the gradient of the trend of the measurement values i_av , the natural opening time can be readjusted during operation , in particular during the second operating mode . a shift of the natural opening time np may result for example from a temperature change within the valve or from a change in the pressure of the fluid in the valve . the high - resolution illustration of the profile of the current in fig4 also shows fluctuations of the current caused by a pulse width modulation . the profile of the current should however basically be regarded as linear , and the linear profile of the current merely has the relatively very small fluctuations of the pulse width modulation superposed thereon . for an opening of the valve 20 , in a first operating mode , a current with a predefined profile is applied to the actuator 42 . the first operating mode may also be referred to as detection mode . the value for the current that is applied to the actuator at the time before the natural opening time np is detected in the first operating mode . the applied current decreases proceeding from a starting value . at the starting value of the current , the actuator force f_ 2 is greater than the spring force f_ 1 . the pin 34 is thus pushed in the direction of the spring 32 , counter to the spring force f_ 1 . in this state , the valve 20 can be closed . if the valve 20 is arranged in the pump 10 , the applied current assumes the starting value when the pump piston 14 reaches top dead center tp . subsequently , measurement values i_av of the current are determined temporally in succession . a present value of a current change with respect to time is determined as a function of two successive measurement values i_av of the current . the current is reduced linearly until the present value of the current change with respect to time deviates from a preceding value of the current change with respect to time by a predefined magnitude , that is to say the deviation between the present value of the current change with respect to time and the preceding value of the current change with respect to time exceeds a predefined threshold value . the present value of the current change with respect to time assumes , for example , a positive value , whereas the preceding value of the current change with respect to time has a negative value . the change in the value of the current change with respect to time relative to the preceding values of the current change with respect to time is caused by an induction of an opposing current in the actuator 42 owing to a movement of the pin 34 in the direction of the spring force f_ 1 . a reference value i_ref of the current now assumes the present measurement value i_av of the current . the reference value i_ref of the current is representative of the actuator force f_ 2 being equal to the spring force f_ 1 reduced by the predefined value f_ 3 . the applied current is preferably set as a function of a pulse width modulation . in particular , it is advantageous for times for the determination of the measurement values i_av of the current to be dependent on the times of the maxima of the pulse - width - modulated current . the frequency of the pulse width modulation may be adapted to the desired time for the determination of the measurement values i_av of the current . in this way , it is possible in particular for the spacing of the maxima of the pulse - width - modulated current to be adapted to the desired measurement points for the determination of the measurement values i_av of the current . it is particularly advantageous for the measurement values i_av of the current to be determined by means of a voltage measurement across a shunt resistor . the first operating mode , referred to as detection mode , may in particular be implemented as a function of ambient conditions such as the temperature of the valve 20 or a temperature of a fluid in the valve 20 or as a function of characteristic values of the internal combustion engine , for example the rotational speed or operating time of the internal combustion engine . in exemplary embodiments , the detection mode is implemented every time the internal combustion engine is started . in embodiments , the reference values i_ref of the current determined for the different operating states of the valve 20 or of the internal combustion engine , and the natural opening time np , are recorded by being stored in an operating - point - dependent characteristic map . in this way , the reference values i_ref of the current and the natural opening time np can be recorded , during the course of the first operating mode , for different operating conditions of the valve 20 and / or of the internal combustion engine . in a second operating mode , also referred to as working mode , the current with the predefined value is applied to the actuator 42 at the time that lies in the predefined interval before the natural opening time np . in particular , the time is dependent on the camshaft signal ns , and is dependent in particular on the time of top dead center tp . the predefined value corresponds to the reference value i_ref determined in the first operating mode . the measurement values i_av of the current increase linearly ( fig4 ) proceeding from the starting value at the time of top dead center tp . if the valve 20 is arranged in the pump 10 , then the applied current assumes the final value of the current when the pump piston 14 is close to bottom dead center . the final value of the current is representative of the pin 34 being in a position in which it does not permit the closure of the valve 20 . in other words , this means that the spring force f_ 1 is only slightly greater than the actuator force f_ 2 . the pin 34 can come into contact with the sealing element 36 softly , and thus fix the position of the sealing element 36 with respect to the sealing seat 38 , whereby the valve 20 can be held open in an effective manner . as a result of the slow movement of the pin 34 , the noise generated by the valve 20 can be kept very low , and reliable and sufficiently fast opening of the valve 20 is nevertheless possible . as a result of the slow movement of the pin 34 , it is furthermore possible for the wear of the valve 20 to be kept low .