how do you say these sentences in spanish


How long shall I take it for
and
Take it for 2 weeks until the pain stops.

Depending upon what "it" refers to:

¿Por cuánto tiempo debo tomarlo (OR tomarla)? = Just one way

Tómelo (usted/formal command) por dos semanas hasta que el dolor (se) acabe.

You should always say who is addressing whom (difference between the formal Ud. and the familiar tú commands) and what the "it" is. medicina = la, for example

Sra